Crate clap [−] [src]
Macros
arg_enum! |
Convenience macro to generate more complete enums with variants to be used as a type when parsing arguments. |
simple_enum! |
Convenience macro generated a simple enum with variants to be used as a type when parsing arguments. |
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 for parsing at runtime. |
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. |
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 |
SubCommand |
The abstract representation of a command line subcommand used by the consumer of the library. |