use std::path::PathBuf; use clap::Parser; #[derive(Parser, Clone)] #[command(author, version, about, long_about = None)] pub struct Args { pub dir: Option, #[arg(short, long, default_value_t = 2)] pub level: u8, #[arg(short, long)] pub doc: bool, #[arg(long)] pub dry_run: bool, #[cfg(all(feature = "ext-cargo", feature = "int-cargo"))] #[arg(long)] pub ext_cargo: bool, }