logo
Expand description

Helpers for writing generators

Functions

Gets all subcommands including child subcommands in the form of ("name", "bin_name").
Finds the subcommand clap::Command from the given clap::Command with the given path.
Gets all the flags of a clap::Command. Includes help and version depending on the clap::Command settings.
Gets all the long options, their visible aliases and flags of a clap::Command. Includes help and version depending on the clap::Command settings.
Get the possible values for completion
Gets all the short options, their visible aliases and flags of a clap::Command. Includes h and V depending on the clap::Command settings.
Gets subcommands of clap::Command in the form of ("name", "bin_name").