use clap::{Parser, Subcommand};
#[derive(Parser, Debug)]
#[command(name = "falsegreen", version, about, long_about = None)]
pub struct Cli {
#[command(subcommand)]
pub command: Commands,
}
#[derive(Subcommand, Debug)]
pub enum Commands {
Mcp,
Login {
#[arg(long)]
token: Option<String>,
},
Logout,
Status,
Install {
#[arg(value_enum)]
agent: AgentTarget,
},
}
#[derive(clap::ValueEnum, Clone, Debug)]
pub enum AgentTarget {
Codex,
#[value(name = "github-copilot")]
GithubCopilot,
#[value(name = "claude-code")]
ClaudeCode,
#[value(name = "opencode")]
OpenCode,
Cursor,
}