clap-log-flag
Add a logger to CLIs using structopt.
Usage
extern crate clap_log_flag;
extern crate log;
extern crate clap_verbosity_flag;
extern crate structopt;
use StructOpt;
Output
clap-log-flag 0.1.0
Yoshua Wuyts <yoshuawuyts@gmail.com>
Add a logger to CLIs using structopt
USAGE:
main [FLAGS]
FLAGS:
-h, --help Prints help information
-P, --pretty Enable pretty printing.
-V, --version Prints version information
-v, --verbosity Pass many times for more log output
Installation
License
MIT OR Apache-2.0