pub trait ArgsInfo {
// Required method
fn get_args_info() -> CommandInfoWithArgs;
// Provided method
fn get_subcommands() -> Vec<SubCommandInfo> { ... }
}
Expand description
Structured information about the command line arguments.
Required Methods§
sourcefn get_args_info() -> CommandInfoWithArgs
fn get_args_info() -> CommandInfoWithArgs
Returns the argument info.
Provided Methods§
sourcefn get_subcommands() -> Vec<SubCommandInfo>
fn get_subcommands() -> Vec<SubCommandInfo>
Returns the list of subcommands
Object Safety§
This trait is not object safe.