[−][src]Derive Macro clap_derive::Clap
#[derive(Clap)]
{
// Attributes available to this derive:
#[clap]
}Generates the Clap implementation.
This is far less verbose than defining the [App] struct manually,
receiving an instance of [ArgMatches] from conducting parsing, and then
implementing a conversion code (usually impl From<ArgMatches> for MyStruct) to instantiate an instance of the user context struct.