pub fn parse(spec: &str) -> Result<Style, ParseError>Expand description
Parse a style spec into an ansi::Style. Empty / whitespace-only input
returns Style::default() so callers can treat empty CLI flags as “off”.
pub fn parse(spec: &str) -> Result<Style, ParseError>Parse a style spec into an ansi::Style. Empty / whitespace-only input
returns Style::default() so callers can treat empty CLI flags as “off”.