Command Line Argument Parser for Rust
clier_parser is a command line argument parser for rust.
Parser
To start a new cli projects run:
$ cargo new demo && cd demo
$ cargo add clier_parser
Then define your CLI in src/main.rs:
use args;
use Argv;
let args: = args.collect;
let parsed = from;
println!;
And try it out:
$ cargo run -- command subcommand -tfv testing --test=value --no-production --help
Argv {
commands: [
],
flags: {
}
}