use clap::Subcommand;
#[derive(Subcommand, Debug)]
pub enum ProjectCommands {
#[command(alias = "ls")]
List,
Show {
id: String,
},
Use {
name_or_id: String,
},
Create {
#[arg(long, short)]
name: String,
#[arg(long, short)]
color: Option<String>,
#[arg(long)]
view_mode: Option<String>,
#[arg(long)]
kind: Option<String>,
},
Update {
id: String,
#[arg(long, short)]
name: Option<String>,
#[arg(long, short)]
color: Option<String>,
#[arg(long)]
closed: Option<bool>,
},
Delete {
id: String,
#[arg(long)]
force: bool,
},
}