Re-exports§
pub use clap_complete;pub use clap;
Modules§
- builder
- Define
Commandline arguments - clap_
derive clap_derive- error
- Error reporting
- parser
Commandline argument parser
Macros§
- arg
- Create an
Argfrom a usage string. - command
- Requires
cargofeature flag to be enabled. - value_
parser - Select a
ValueParserimplementation from the intended type
Structs§
- Arg
- The abstract representation of a command line argument. Used to set all the options and relationships that define a valid argument for the program.
- ArgGroup
- Family of related arguments.
- ArgMatches
- Container for parse results.
- Command
- Build a command-line interface.
- Id
ArgorArgGroupidentifier
Enums§
- ArgAction
- Behavior of arguments when they are encountered while parsing
- Color
Choice - Represents the color preferences for program output
- Value
Hint - Provide shell with hint on how to complete an argument.
Traits§
- Args
- Parse a set of arguments into a user-defined container.
- Command
Factory - Create a
Commandrelevant for a user-defined container. - From
ArgMatches - Converts an instance of
ArgMatchesto a user-defined container. - Parser
- Parse command-line arguments into
Self. - Subcommand
- Parse a sub-command into a user-defined enum.
- Value
Enum - Parse arguments into enums.
Type Aliases§
- Error
- Command Line Argument Parser Error
Attribute Macros§
Derive Macros§
- Args
- Generates the
Argsimpl. - Parser
- Generates the
Parserimplementation. - Subcommand
- Generates the
Subcommandimpl. - Value
Enum - Generates the
ValueEnumimpl.