StructOpt is a library that parses command line arguments by defining a struct with derive macros.
#[derive(StructOpt)] struct Cli { #[structopt(short, long)] verbose: bool, }