[][src]Trait luciferous_clap::CommandBase

pub trait CommandBase {
    type Response;
    type Error;

    const NAME: &'static str;

    fn subcommand<'a, 'b>() -> App<'a, 'b>;
fn run(args: &ArgMatches<'_>) -> Result<Self::Response, Self::Error>; }

Associated Types

type Response

type Error

Loading content...

Associated Constants

const NAME: &'static str

Loading content...

Required methods

fn subcommand<'a, 'b>() -> App<'a, 'b>

fn run(args: &ArgMatches<'_>) -> Result<Self::Response, Self::Error>

Loading content...

Implementors

Loading content...