pub fn args() -> clap::ArgMatches<'static> {
    let res = App::new("init_project")
        .version(consts::VERSION.unwrap_or("Uknown"))
        .author(consts::AUTHOR)
        .about(consts::ABOUT)
        .arg(
            Arg::with_name("generate")
                .short("g")
                .long("generate")
                .takes_value(false)
                .required(true)
                .help("Initialize available projects"),
        )
        .get_matches();
    res
}
/// Gets the arguments passed to executable
Gets the arguments passed to executable
Gets the arguments passed to executable
pub fn args() -> clap::ArgMatches<'static> {
    let res = App::new("init_project")
        .version(consts::VERSION.unwrap_or("Uknown"))
        .author(consts::AUTHOR)
        .about(consts::ABOUT)
        .arg(
            Arg::with_name("generate")
                .short("g")
                .long("generate")
                .takes_value(false)
                .required(true)
                .help("Initialize available projects"),
        )
        .get_matches();
    res
}
pub fn args ( ) -> clap :: ArgMatches < ' static > { let res = App :: new ( " " ) . version ( consts :: VERSION . unwrap_or ( " " ) ) . author ( consts :: AUTHOR ) . about ( consts :: ABOUT ) . arg ( Arg :: with_name ( " " ) . short ( " " ) . long ( " " ) . takes_value ( false ) . required ( true ) . help ( " " ) , ) . get_matches ( ) ; res }
Gets the arguments passed to executable
Gets the arguments passed to executable