Expand description
Command line parsing.
See crate ::clap
.
Modules§
clap_derive
- Error reporting
Command
line argument parser
Macros§
- Create an
Arg
from a usage string. - Requires
cargo
feature flag to be enabled. - Select a
ValueParser
implementation from the intended type
Structs§
- The abstract representation of a command line argument. Used to set all the options and relationships that define a valid argument for the program.
- Family of related arguments.
- Container for parse results.
- Build a command-line interface.
Enums§
- Behavior of arguments when they are encountered while parsing
- Represents the color preferences for program output
- Provide shell with hint on how to complete an argument.
Traits§
- Parse a set of arguments into a user-defined container.
- Create a
Command
relevant for a user-defined container. - Converts an instance of
ArgMatches
to a user-defined container. - Parse command-line arguments into
Self
. - Parse a sub-command into a user-defined enum.
- Parse arguments into enums.
Type Aliases§
- Command Line Argument Parser Error
Derive Macros§
- Generates the
Args
impl. - Generates the
Parser
implementation. - Generates the
Subcommand
impl. - Generates the
ValueEnum
impl.