pub trait SubCommands: FromArgs {
    const COMMANDS: &'static [&'static CommandInfo];

    fn dynamic_commands() -> &'static [&'static CommandInfo] { ... }
}
Expand description

A FromArgs implementation that can parse into one or more subcommands.

Required Associated Constants

Info for the commands.

Provided Methods

Get a list of commands that are discovered at runtime.

Implementors