Re-exports§
pub use app_settings::AppFlags;
pub use arg_settings::ArgFlags;
pub use value_parser::_AnonymousValueParser;
pub use value_parser::_AutoValueParser;
Structs§
- Deprecated, replaced with
Command
- 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.
- Implementation for
ValueParser::bool
- Parse bool-like string values, everything else is
true
- Parse an
ValueEnum
value. - Parse false-like string values, everything else is
true
- Parse non-empty string values
- Implementation for
ValueParser::os_string
- Implementation for
ValueParser::path_buf
- A possible value of an argument.
- Verify the value is from an enumerated set of
PossibleValue
. - Parse number that fall within a range of values
- Parse number that fall within a range of values
- Implementation for
ValueParser::string
- Parse/validate argument values
Enums§
- Application level settings, which affect how
Command
operates - Behavior of arguments when they are encountered while parsing
- Various settings that apply to arguments and may be set, unset, and checked via getter/setter methods
Arg::setting
,Arg::unset_setting
, andArg::is_set
. This is what theArg
methods which accept abool
use internally. - Provide shell with hint on how to complete an argument.
Traits§
- Parse/validate argument values
- Register a type with value_parser!
Type Aliases§
- Build a command-line interface.