claude_box/cli/args.rs
1use clap::{Parser, Subcommand};
2
3#[derive(Parser, Debug)]
4#[command(name = "claude-box")]
5#[command(about = "A multi-platform Claude Code sandbox manager")]
6#[command(version)]
7pub struct Cli {
8 #[command(subcommand)]
9 pub command: Option<Command>,
10
11 /// Environment name to open (uses default if not specified)
12 #[arg(value_name = "ENVIRONMENT")]
13 pub environment: Option<String>,
14}
15
16#[derive(Subcommand, Debug)]
17pub enum Command {
18 /// Open the configuration TUI to manage environments
19 Config,
20}