mcp_execution_cli/actions.rs
1//! Action type definitions for CLI commands.
2//!
3//! Defines the action enums used by various commands.
4
5use clap::Subcommand;
6
7/// Server management actions.
8#[derive(Subcommand, Debug)]
9pub enum ServerAction {
10 /// List all configured servers
11 List,
12
13 /// Show detailed information about a server
14 Info {
15 /// Server name
16 server: String,
17 },
18
19 /// Validate a server command
20 Validate {
21 /// Server command to validate
22 command: String,
23 },
24}