use clap::Parser; #[derive(Debug, Parser)] pub enum Command { /// Verifies if the configuration can be parsed without errors Configtest, } #[derive(Debug, Parser)] pub struct Opts { /// Provide a path to the configuration file #[arg(short, long, value_name = "FILE")] pub config: Option, #[command(subcommand)] pub command: Option, }