Crate argsparse
Source - Args
- A parsed list of command-line arguments.
- FlagArg
- A flag argument, representing a switch with no associated value, such as
-v
or --help
. - OptionArg
- An option argument with an associated value, such as
-o output.txt
or --file=config.toml
. - ParserContext
- Maintains context for parsing arguments, including definitions and lookup maps.
- PositionalArg
- A positional argument, typically representing a value not preceded by a flag or option.
- ArgDef
- Defines the expected arguments the parser can recognize.
- ArgName
- Represents the name of an argument, used for identification and matching.
- Argument
- A parsed command-line argument.
- ParseArgError
- Represents possible parsing errors when processing a single argument.
- FromArgument