Crate blarg_builder

Source
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).
CommandLineParser
The base command line parser.
Condition
The condition argument with which to branch the parser. Used with CommandLineParser::branch.
GeneralParser
The configured command line parser. Built via CommandLineParser::build or SubCommandParser::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 and SubCommand::add.
Scalar
An option parameter that takes a single value (precisely 1).
SubCommand
A sub-command line parser.
SubCommandParser
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