Macro clap::app_from_crate [] [src]

macro_rules! app_from_crate {
    () => { ... };
    ($sep:expr) => { ... };
}

Allows you to build the App instance from your Cargo.toml at compile time.

Equivalent to using the crate_*! macros with their respective fields.

Provided separator is for the macro.crate_authors.html macro, refer to the documentation therefor.

Examples

let m = app_from_crate!().get_matches();