| 328 | |
| 329 | #[derive(Subcommand)] |
| 330 | enum AgentCommands { |
| 331 | #[command(about = "List available agents")] |
| 332 | List, |
| 333 | #[command(about = "Create an agent markdown file")] |
| 334 | Create { |
| 335 | #[arg(value_name = "NAME")] |
| 336 | name: String, |
| 337 | #[arg(long)] |
| 338 | description: String, |
| 339 | #[arg(long, default_value = "all")] |
| 340 | mode: AgentFileMode, |
| 341 | #[arg(long)] |
| 342 | path: Option<PathBuf>, |
| 343 | #[arg(long)] |
| 344 | tools: Option<String>, |
| 345 | #[arg(short = 'm', long)] |
| 346 | model: Option<String>, |
| 347 | }, |
| 348 | } |
| 349 | |
| 350 | #[derive(Clone, Debug, ValueEnum)] |
| 351 | enum AgentFileMode { |
nothing calls this directly
no outgoing calls
no test coverage detected