aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli.rs
blob: 0b4962a25e9075db339fb26ace48233aec29b6c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
use clap::Parser;

#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
pub struct Args {
    #[arg(short, long)]
    pub file: String,

    #[arg(short, long, default_value_t = true)]
    pub dry_run: bool,
}