Command-line application framework.
Example
A simple command-line application could look something like this:
use ;
let app = with_name
.with_description
.with_flag
.with_subcommand
.with_resolver
.run;
match app
The function with_resolver
accepts different resolver types:
// closure
command.with_resolver
// function pointer
command.with_resolver
// struct with Resolver trait
use Resolver;
command.with_resolver;
TO-DO
- Support command inputs (e.g.
cli command <input0> <input1>
).