use super::defaults; use clap::Parser; use std::path::PathBuf; #[derive(Parser, Debug)] #[command(author, version, about)] pub struct Args { /// Path to config file #[arg(short, long, default_value = "config.toml")] pub config: PathBuf, #[arg(short, long, help = defaults::HELP_PORT)] pub port: Option, #[arg(long, help = defaults::HELP_LOG)] pub log_level: Option, }