structopt-flags
A set of reusable flags and option for your CLIs using StructOpt
Getting started
Add the crate to your project, adding this in Cargo.toml
:
[]
= "0.2"
In your code, you can use one or more flags provided by this crate. For instance:
extern crate failure;
extern crate structopt;
extern crate structopt_flags;
use Error;
use StructOpt;
use LogLevel; // traits for flags that can provide a log level
License
Licensed under:
- BSD 3-Clause License (LICENSE or https://opensource.org/licenses/BSD-3-Clause )