blob: b0ec61bc68f6bf0b9952ef45214abc083d4ccdc9 (
plain) (
tree)
|
|
use std::path::PathBuf;
use clap::Parser;
#[derive(Parser, Clone)]
#[command(author, version, about, long_about = None)]
pub struct Args {
pub dir: Option<PathBuf>,
#[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,
}
|