()
| 29 | }; |
| 30 | |
| 31 | fn 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())] |
nothing calls this directly
no outgoing calls
no test coverage detected