use std::path::PathBuf; use clap::{builder::BoolishValueParser, ArgAction, Parser}; #[derive(Parser)] pub(crate) struct Args { /// Read this config file. #[arg(short, long)] pub config_path: Option, /// Turn off the startup message. /// /// The startup message is not constant and depends on the time. #[arg(long, env = "NO_STARTUP_MESSAGE", action = ArgAction::SetTrue, value_parser = BoolishValueParser::new())] pub no_startup_message: bool, }