[−][src]Module structopt::clap
Re-export of clap
Macros
| _clap_count_exprs | Counts the number of comma-delimited expressions passed to it. The result is a compile-time
evaluable expression, suitable for use as a static array size, or the value of a |
| app_from_crate | Allows you to build the |
| 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 |
| clap_app | Build |
| crate_authors | Allows you to pull the authors for the app from your Cargo.toml at
compile time in the form:
|
| crate_description | Allows you to pull the description from your Cargo.toml at compile time. |
| crate_name | Allows you to pull the name from your Cargo.toml at compile time. |
| crate_version | Allows you to pull the version from your Cargo.toml at compile time as
|
| value_t | Convenience macro getting a typed value |
| value_t_or_exit | Convenience macro getting a typed value |
| values_t | Convenience macro getting a typed value |
| values_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. Application settings are set using the "builder pattern" with the
|
| 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 |
|
| ArgMatches | Used to get information about the arguments that where supplied to the program at runtime by
the user. New instances of this struct are obtained by using the |
| Error | Command Line Argument Parser Error |
| OsValues | An iterator for getting multiple values out of an argument via the [ |
| SubCommand | The abstract representation of a command line subcommand. |
| Values | An iterator for getting multiple values out of an argument via the |
Enums
| AppSettings | Application level settings, which affect how |
| ArgSettings | Various settings that apply to arguments and may be set, unset, and checked via getter/setter
methods |
| ErrorKind | Command line argument parser kind of error |
| Shell | Describes which shell to produce a completions file for |
Type Definitions
| Result | Short hand for |