Trait clap::Subcommand[][src]

pub trait Subcommand: Sized {
    fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>;
fn update_from_subcommand(
        &mut self,
        subcommand: Option<(&str, &ArgMatches)>
    );
fn augment_subcommands(app: App<'_>) -> App<'_>;
fn augment_subcommands_for_update(app: App<'_>) -> App<'_>; }

@TODO @release @docs

Required methods

fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>[src]

@TODO @release @docs

fn update_from_subcommand(&mut self, subcommand: Option<(&str, &ArgMatches)>)[src]

@TODO @release @docs

fn augment_subcommands(app: App<'_>) -> App<'_>[src]

@TODO @release @docs

fn augment_subcommands_for_update(app: App<'_>) -> App<'_>[src]

@TODO @release @docs

Loading content...

Implementations on Foreign Types

impl<T: Subcommand> Subcommand for Box<T>[src]

Loading content...

Implementors

Loading content...