()
| 2118 | } |
| 2119 | |
| 2120 | fn cmd_version() { |
| 2121 | let version = env!("CARGO_PKG_VERSION"); |
| 2122 | |
| 2123 | tui::print_banner(&format!("v{version}")); |
| 2124 | println!(); |
| 2125 | |
| 2126 | println!("{}", tui::theme_bold().apply_to("Features:")); |
| 2127 | let bullet = tui::theme_style().apply_to("▸"); |
| 2128 | println!(" {bullet} Virtual key to real key mapping"); |
| 2129 | println!(" {bullet} Multi-provider support (OpenAI, OpenRouter, Anthropic)"); |
| 2130 | println!(" {bullet} DLP scanning with block/redact actions"); |
| 2131 | println!(" {bullet} Response PII scanning"); |
| 2132 | println!(" {bullet} Streaming support (SSE pass-through)"); |
| 2133 | } |
| 2134 | |
| 2135 | /// Start ClawShell directly by spawning a child process (no service manager). |
| 2136 | fn start_clawshell_direct( |
no test coverage detected