(self)
| 40 | } |
| 41 | |
| 42 | fn display_name(self) -> &'static str { |
| 43 | match self { |
| 44 | Self::Opencode => "opencode", |
| 45 | Self::ClaudeCode => "Claude Code", |
| 46 | Self::Codex => "Codex", |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | fn config(self) -> AcpClientConfig { |
| 51 | let (command, args) = match self { |