use clap::Subcommand;
#[derive(Debug, Subcommand)]
pub(crate) enum IssueCmd {
SeedLabels {
#[arg(long)]
config: Option<std::path::PathBuf>,
#[arg(long)]
dry_run: bool,
#[arg(long, value_name = "NAME_OR_FAMILY")]
only: Vec<String>,
},
Transition {
issue: u64,
to_state: String,
#[arg(long)]
config: Option<std::path::PathBuf>,
#[arg(long)]
note: Option<String>,
},
Current {
issue: u64,
#[arg(long)]
config: Option<std::path::PathBuf>,
},
States {
#[arg(long)]
config: Option<std::path::PathBuf>,
},
Standard {
#[arg(long)]
config: Option<std::path::PathBuf>,
},
SeedConfig {
#[arg(long)]
force: bool,
},
Audit {
#[arg(conflicts_with_all = ["recent", "since"])]
issue: Option<u64>,
#[arg(long, conflicts_with = "since")]
recent: Option<usize>,
#[arg(long)]
since: Option<String>,
},
Repair {
issue: u64,
#[arg(long)]
config: Option<std::path::PathBuf>,
},
}