use clap::{Parser, Subcommand};
#[derive(Parser, Debug)]
#[command(name = "rusty-detox", about, version, arg_required_else_help = false)]
pub struct Cli {
#[arg(short = 'n', long = "dry-run")]
pub dry_run: bool,
#[arg(short = 'r', long = "recursive")]
pub recursive: bool,
#[arg(short = 's', long = "sequence", value_name = "NAME")]
pub sequence: Option<String>,
#[arg(short = 'f', long = "config-file", value_name = "PATH")]
pub config_file: Option<String>,
#[arg(short = 'L', long = "list-sequences")]
pub list_sequences: bool,
#[arg(short = 'v', long = "verbose")]
pub verbose: bool,
#[arg(long = "strict")]
pub strict: bool,
#[arg(long = "no-strict", conflicts_with = "strict")]
pub no_strict: bool,
#[command(subcommand)]
pub subcommand: Option<DetoxSubcommand>,
pub paths: Vec<String>,
}
#[derive(Subcommand, Debug)]
pub enum DetoxSubcommand {
Completions {
#[arg(value_enum)]
shell: clap_complete::Shell,
},
}