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

Function create_styles

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

Source from the content-addressed store, hash-verified

32};
33
34fn create_styles() -> Styles {
35 styling::Styles::styled()
36 .header(styling::AnsiColor::Green.on_default() | styling::Effects::BOLD)
37 .usage(styling::AnsiColor::Green.on_default() | styling::Effects::BOLD)
38 .literal(
39 styling::Ansi256Color(CODSPEED_U8_COLOR_CODE).on_default() | styling::Effects::BOLD,
40 )
41 .placeholder(styling::AnsiColor::Cyan.on_default())
42}
43
44#[derive(Parser, Debug)]
45#[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