use clap::{Parser, Subcommand};
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
pub struct Cli {
#[arg(short, long, default_value_t = false)]
pub quiet: bool,
#[arg(short, long, default_value_t = false)]
pub debug: bool,
#[command(subcommand)]
pub command: Commands,
}
#[derive(Subcommand, Debug)]
pub enum Commands {
Report { path: Option<Vec<String>> },
Preview { path: Option<Vec<String>> },
Fix { path: Option<Vec<String>> },
}
impl Cli {
pub fn init() -> Self {
Cli::parse()
}
}