use clap::Parser;
use std::path::PathBuf;
#[derive(Parser, Debug)]
#[command(name = "cargo-setupx")]
#[command(author, version, about, long_about = None)]
#[command(bin_name = "cargo")]
pub struct Cli {
#[command(subcommand)]
pub command: Commands,
}
#[derive(Parser, Debug)]
pub enum Commands {
Setupx(SetupxArgs),
}
#[derive(Parser, Debug)]
pub struct SetupxArgs {
#[arg(long)]
pub quality: bool,
#[arg(long)]
pub hooks: bool,
#[arg(long, value_name = "TYPE")]
pub arch: Option<String>,
#[arg(long, short = 'f')]
pub force: bool,
#[arg(long, short = 'y')]
pub yes: bool,
#[arg(value_name = "PATH", default_value = ".")]
pub path: PathBuf,
#[arg(long)]
pub all: bool,
}