[−][src]Crate clap
https://github.com/clap-rs/clap
Macros
app_from_crate | Allows you to build the |
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
|
Structs
App | Represents a command line interface which is made up of all possible
command line arguments and subcommands. Interface arguments and settings are
configured using the "builder pattern." Once all configuration is complete,
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 were 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 |
Indices | An iterator for getting multiple indices out of an argument via the |
OsValues | An iterator for getting multiple values out of an argument via the [ |
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 |
ValueHint | Provides hints about argument types for shell command completion. |
Traits
ArgEnum | @TODO @release @docs |
Clap | The primary one-stop-shop trait used to create an instance of a |
FromArgMatches | Converts an instance of |
IntoApp | Build an App according to the struct |
Subcommand | @TODO @release @docs |
Type Definitions
Result | Short hand for |