use clap::Parser;
#[derive(Debug, Parser)]
#[command(version, about)]
pub struct Args {
#[arg(short = 'c', long, default_value_t = Self::xdg_config_file())]
pub config_file: String,
}
impl Args {
fn xdg_config_file() -> String {
"config.toml".to_owned()
}
}