use clap::{Parser, Subcommand};
#[derive(Parser)]
#[command(name = "gvm")]
#[command(about = "Go Version Manager - Simple and fast Go version switching")]
#[command(version = env!("CARGO_PKG_VERSION"))]
#[command(author = "Tidepool Team")]
pub struct Cli {
#[command(subcommand)]
pub command: Commands,
}
#[derive(Subcommand)]
pub enum Commands {
Install {
version: String,
#[arg(short, long)]
force: bool,
},
Uninstall {
version: String,
},
List {
#[arg(short, long)]
available: bool,
},
Status,
Info {
version: String,
},
}