Expand description
To use this crate, write use macro_clap::*;
in your own crate
You can also use
use macro_clap::prelude::*;
use macro_clap::cli_macro::*;
use macro_clap::opt_types::*;
which is equivalent
Modules§
Macros§
- arg
- The simple argument
- branch
- The intersection that separates two branches of arguments
- cli
- The main command-line argument parsing macro
- collect
- The collecter of all leftovers
- impl_
type - Underlying macro to implement types. Not for use in code
- maybe
- The argument that may be missing
- opt
- The matcher of options
- usage
- Underlying macro to make usage strings. Not for use in code
Structs§
- Counter
- How much all of the values of the option add up to
- Flag
- Whether an option is mentionned or not
- Flag
Counter - How many times an option is mentionned
- GrabAll
- All values given to the option
- Grab
First - The first value given to the option
- Grab
Last - The last value given to the option