clap 3.2.0

A simple to use, efficient, and full-featured Command Line Argument Parser
Documentation
// Note: this requires the `cargo` feature

use clap::{command, Arg, ArgAction};

fn main() {
    let matches = command!()
        .arg(
            Arg::new("verbose")
                .short('v')
                .long("verbose")
                .action(ArgAction::SetTrue),
        )
        .get_matches();

    println!(
        "verbose: {:?}",
        *matches
            .get_one::<bool>("verbose")
            .expect("defaulted by clap")
    );
}