Trait clap::Subcommand
source · [−]pub trait Subcommand: Sized {
fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>;
fn augment_subcommands(app: App<'_>) -> App<'_>;
}
Expand description
@TODO @release @docs
Required methods
fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>
fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>
@TODO @release @docs
fn augment_subcommands(app: App<'_>) -> App<'_>
fn augment_subcommands(app: App<'_>) -> App<'_>
@TODO @release @docs