pub fn color_flag_eq() -> ColorFlagAvailable on crate feature
process only.Expand description
Create a --color=always|never flag that can be added to a command,
based on if color is enabled for the current process using
this crate’s cli flags
§Example
use cu::pre::*;
cu::which("git")?
.command()
.add(cu::color_flag_eq());
// ... more config