clap_flags
Collection of reusable flags for Clap.
Usage
extern crate clap_flags;
extern crate structopt;
extern crate log;
extern crate futures;
extern crate hyper;
extern crate tokio;
use *;
use service_fn_ok;
use ;
use StructOpt;
Output
clap_flags 0.1.0
Yoshua Wuyts <yoshuawuyts@gmail.com>
Collection of reusable flags for Clap
USAGE:
main [FLAGS] [OPTIONS]
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
OPTIONS:
-a, --address <address> The network address to listen to. [default: 127.0.0.1]
--listen-fd <fd> A previously opened network socket. [env: LISTEN_FD=]
-p, --port <port> The network port to listen to. [env: PORT=]
Installation
License
MIT OR Apache-2.0