Module clap_complete::aot::utils
source · 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 givenclap::Command
with the given path. - Gets all the flags of a
clap::Command
. Includeshelp
andversion
depending on theclap::Command
settings. - Gets all the long options, their visible aliases and flags of a
clap::Command
. Includeshelp
andversion
depending on theclap::Command
settings. - Get the possible values for completion
- Gets all the short options, their visible aliases and flags of a
clap::Command
. Includesh
andV
depending on theclap::Command
settings. - Gets subcommands of
clap::Command
in the form of("name", "bin_name")
.