Trait argh::ArgsInfo

source ·
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§

source

fn get_args_info() -> CommandInfoWithArgs

Returns the argument info.

Provided Methods§

source

fn get_subcommands() -> Vec<SubCommandInfo>

Returns the list of subcommands

Object Safety§

This trait is not object safe.

Implementors§