Crate concolor_clap[−][src]
Expand description
Mixin a clap argument for colored output selection
Examples
// ... #[derive(Debug, structopt::StructOpt)] #[structopt(setting = concolor_clap::color_choice())] struct Cli { #[structopt(flatten)] color: concolor_clap::Color, }
Structs
Enums
Selection for when to color output
Functions
Get color choice for initializing the clap::App