Expand description
Builder module for blarg
.
See documentation root for full details.
Modules§
- prelude
- Traits which, typically, may be imported without concern:
use blarg::prelude::*
.
Structs§
- Collection
- A parameter that takes multiple values (specifiable
Nargs
). - Command
Line Parser - The base command line parser.
- Condition
- The condition argument with which to branch the parser.
Used with
CommandLineParser::branch
. - General
Parser - The configured command line parser.
Built via
CommandLineParser::build
orSubCommandParser::build
. - Optional
- An option parameter that maps down to
Option
, taking a single value (precisely 1). - Parameter
- An argument/option for the command parser.
Used with
CommandLineParser::add
andSubCommand::add
. - Scalar
- An option parameter that takes a single value (precisely 1).
- SubCommand
- A sub-command line parser.
- SubCommand
Parser - The sub-command parser.
- Switch
- An option parameter that takes no values (precisely 0).
Enums§
- Nargs
- The cardinality of inputs to match for an argument/option.
Traits§
- CliArgument
- Marker trait for capturable types that can formulate an argument in the Cli.
- CliOption
- Marker trait for capturable types that can formulate an option in the Cli