wisp/cli.rs
1use clap::Parser;
2
3#[derive(Parser, Clone)]
4#[command(name = "wisp")]
5#[command(about = "A TUI for AI coding agents via the Agent Client Protocol")]
6pub struct Cli {
7 #[arg(
8 short = 'a',
9 long = "agent",
10 help = "Agent subprocess command to spawn (speaks ACP over stdin/stdout)",
11 default_value = "aether acp"
12 )]
13 pub agent: String,
14
15 #[arg(
16 long = "log-dir",
17 help = "Path to log file directory (default: /tmp/wisp-logs)"
18 )]
19 pub log_dir: Option<String>,
20}