Skip to main content

Module cli

Module cli 

Source
Expand description

Command-line argument parsing with builder pattern

Windjammer’s std::cli module maps to these functions. Provides a fluent builder API similar to clap.

Structs§

AppBuilder
CLI Application builder
ArgBuilder
CLI Argument builder
CliMatches
Parsed CLI matches

Functions§

arg
Create a new argument (positional or required)
flag
Create a new flag (boolean, no value)
new
Create a new CLI application builder
option
Create a new option (takes a value)