Expand description
Helpers for writing generators
Functionsยง
- Gets all subcommands including child subcommands in the form of
("name", "bin_name"). - Finds the subcommand
clap::Commandfrom the givenclap::Commandwith the given path. - Gets all the flags of a
clap::Command. Includeshelpandversiondepending on theclap::Commandsettings. - Gets all the long options, their visible aliases and flags of a
clap::Command. Includeshelpandversiondepending on theclap::Commandsettings. - Get the possible values for completion
- Gets all the short options, their visible aliases and flags of a
clap::Command. IncludeshandVdepending on theclap::Commandsettings. - Gets subcommands of
clap::Commandin the form of("name", "bin_name").