pub(crate) trait CliCommand {
// Required methods
fn invoke(config: &mut Config, args_matches: &ArgMatches);
fn get_subcommand() -> Command;
}
Expand description
A trait for CLI commands
Required Methods§
sourcefn get_subcommand() -> Command
fn get_subcommand() -> Command
Get the subcommand
Object Safety§
This trait is not object safe.