Trait nameless_clap::Subcommand[][src]

pub trait Subcommand: Sized {
    fn from_subcommand(
        subcommand: Option<(&str, &ArgMatches)>
    ) -> Result<Self, Error>;
fn update_from_subcommand(
        &mut self,
        subcommand: Option<(&str, &ArgMatches)>
    ) -> Result<(), Error>;
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)>
) -> Result<Self, Error>
[src]

@TODO @release @docs

fn update_from_subcommand(
    &mut self,
    subcommand: Option<(&str, &ArgMatches)>
) -> Result<(), Error>
[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...