Crate clap [−] [src]
Macros
| arg_enum! |
Convenience macro to generate more complete enums with variants to be used as a type when
parsing arguments. This enum also provides a |
| crate_version! |
Allows you pull the version for an from your Cargo.toml as MAJOR.MINOR.PATCH_PKGVERSION_PRE |
| simple_enum! |
Convenience macro generated a simple enum with variants to be used as a type when parsing
arguments. This enum also provides a |
| value_t! |
Convenience macro getting a typed value |
| value_t_or_exit! |
Convenience macro getting a typed value |
Structs
| App |
Used to create a representation of a command line program and all possible command line arguments. |
| Arg |
The abstract representation of a command line argument used by the consumer of the library. Used to set all the options and relationships that define a valid argument for the program. |
| ArgGroup |
|
| ArgMatches |
Used to get information about the arguments that where supplied to the program at runtime by
the user. To get a new instance of this struct you use |
| ClapError |
Command line argument parser error |
| SubCommand |
The abstract representation of a command line subcommand used by the consumer of the library. |
Enums
| AppSettings |
Application level settings, which affect how |
| ClapErrorType |
Command line argument parser error types |
| Format |