Re-exports§
pub use styling::Styles;
pub use value_parser::_infer_ValueParser_for;
pub use value_parser::_AnonymousValueParser;
Modules§
Structs§
- 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
- Family of related arguments.
- Bool
Value Parser - Implementation for
ValueParser::bool
- Boolish
Value Parser - Parse bool-like string values
- Command
- Build a command-line interface.
- Enum
Value Parser - Parse an
ValueEnum
value. - Falsey
Value Parser - Parse false-like string values, everything else is
true
- MapValue
Parser - Adapt a
TypedValueParser
from one value to another - NonEmpty
String Value Parser - Parse non-empty string values
- OsStr
- A UTF-8-encoded fixed string
- OsString
Value Parser - Implementation for
ValueParser::os_string
- Path
BufValue Parser - Implementation for
ValueParser::path_buf
- Possible
Value - A possible value of an argument.
- Possible
Values Parser - Verify the value is from an enumerated set of
PossibleValue
. - Ranged
I64Value Parser - Parse number that fall within a range of values
- Ranged
U64Value Parser - Parse number that fall within a range of values
- Str
- A UTF-8-encoded fixed string
- String
Value Parser - Implementation for
ValueParser::string
- Styled
Str - Terminal-styling container
- TryMap
Value Parser - Adapt a
TypedValueParser
from one value to another - Unknown
Argument Value Parser - When encountered, report
ErrorKind::UnknownArgument
- Value
Parser - Parse/validate argument values
- Value
Range - Values per occurrence for an argument
Enums§
- ArgAction
- Behavior of arguments when they are encountered while parsing
- ArgPredicate
- Operations to perform on argument values
- Resettable
- Clearable builder value
- Value
Hint - Provide shell with hint on how to complete an argument.
Traits§
- ArgExt
unstable-ext
- User-provided data that can be attached to an
Arg
- Command
Ext unstable-ext
- User-provided data that can be attached to an
Arg
- Into
Resettable - Convert to the intended resettable type
- Typed
Value Parser - Parse/validate argument values
- Value
Parser Factory - Register a type with
value_parser!