MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / create_styles

Function create_styles

src/cli/mod.rs:31–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29};
30
31fn create_styles() -> Styles {
32 styling::Styles::styled()
33 .header(styling::AnsiColor::Green.on_default() | styling::Effects::BOLD)
34 .usage(styling::AnsiColor::Green.on_default() | styling::Effects::BOLD)
35 .literal(
36 styling::Ansi256Color(CODSPEED_U8_COLOR_CODE).on_default() | styling::Effects::BOLD,
37 )
38 .placeholder(styling::AnsiColor::Cyan.on_default())
39}
40
41#[derive(Parser, Debug)]
42#[command(version, about = "The CodSpeed CLI tool", styles = create_styles())]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected