These are chat archives for kbknapp/clap-rs
SubCommandstructs, since they're actually just the same thing. And make everything
Appso there is less confusion and documentation is easier to find
"32".parse()operations down for you, or even handles generating an error on failed parse and exiting for you, but other than that no.
or_exit!variants that handle the pretty errors and exiting if needed
or_exitones are deprecated though, it seems.
value_t!(matches.value_of("length"), u32).unwrap_or_else(|e| e.exit());
or_exitvariants won't be removed until 3.x
ArgMatchesstruct into true Rust types automatically...so you won't have to rely on this macro business
structoptinto mainline clap
IntoAppwill be nightly-only?
structoptis doing a form of this on stable now.
#[clap(short = "v", long = "verbose")]parts like this would require nightly
IntoAppwould work on stable