Macro clap::crate_name[][src]

macro_rules! crate_name {
    () => { ... };
}

Allows you to pull the name from your Cargo.toml at compile time.

Examples

let m = App::new(crate_name!())
            .get_matches();