use clap::Subcommand;
#[derive(Subcommand, Clone, Debug)]
pub(crate) enum TagCommand {
#[command(after_help = "\
EXAMPLES:
govctl tag new caching
govctl tag new breaking-change
")]
New {
tag: String,
},
#[command(after_help = "\
EXAMPLES:
govctl tag delete caching
")]
Delete {
tag: String,
},
#[command(
visible_alias = "ls",
after_help = "\
EXAMPLES:
govctl tag list
govctl tag list -o json
"
)]
List {
#[arg(short = 'o', long, value_enum, default_value = "table")]
output: crate::OutputFormat,
},
}