Macro clap::crate_name 
source · [−]macro_rules! crate_name {
    () => { ... };
}Expand description
Allows you to pull the name from your Cargo.toml at compile time.
Examples
let m = App::new(crate_name!())
            .get_matches();macro_rules! crate_name {
    () => { ... };
}Allows you to pull the name from your Cargo.toml at compile time.
let m = App::new(crate_name!())
            .get_matches();