Module clap_builder::builder
source · Re-exports§
pub use styling::Styles;
pub use value_parser::_infer_ValueParser_for;
pub use value_parser::_AnonymousValueParser;
Modules§
- Terminal
Styles
for help and error output
Structs§
- 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
- Build a command-line interface.
- Parse an
ValueEnum
value. - Parse false-like string values, everything else is
true
- Adapt a
TypedValueParser
from one value to another - Parse non-empty string values
- A UTF-8-encoded fixed string
- 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
- A UTF-8-encoded fixed string
- Implementation for
ValueParser::string
- Terminal-styling container
- Adapt a
TypedValueParser
from one value to another - When encountered, report
ErrorKind::UnknownArgument
- Parse/validate argument values
- Values per occurrence for an argument
Enums§
- Behavior of arguments when they are encountered while parsing
- Operations to perform on argument values
- Clearable builder value
- Provide shell with hint on how to complete an argument.
Traits§
- Convert to the intended resettable type
- Parse/validate argument values
- Register a type with
value_parser!