use std::path::PathBuf;
use clap::{Args, Subcommand, ValueEnum};
#[derive(ValueEnum, Clone, Copy, Debug, Eq, PartialEq)]
pub enum TaskFollowupsFormatArg {
Text,
Json,
}
#[derive(Args, Clone)]
pub struct TaskFollowupsArgs {
#[command(subcommand)]
pub command: TaskFollowupsCommand,
}
#[derive(Subcommand, Clone)]
pub enum TaskFollowupsCommand {
#[command(
after_long_help = "Examples:\n cueloop task followups apply --task RQ-0135\n cueloop task followups apply --task RQ-0135 --dry-run\n cueloop task followups apply --task RQ-0135 --input /tmp/followups.json --format json"
)]
Apply(TaskFollowupsApplyArgs),
}
#[derive(Args, Clone)]
pub struct TaskFollowupsApplyArgs {
#[arg(long, value_name = "TASK_ID")]
pub task: String,
#[arg(long, value_name = "PATH")]
pub input: Option<PathBuf>,
#[arg(long)]
pub dry_run: bool,
#[arg(long, value_enum, default_value_t = TaskFollowupsFormatArg::Text)]
pub format: TaskFollowupsFormatArg,
}