use clap::Parser; use omg_api::Commands; #[derive(Parser)] pub struct Cli { /// Set which omg.lol username to use, overrides config and environment variable (OMGLOL_USERNAME) #[clap(short, long)] pub name: Option, /// Categories of commands to interact with the omg.lol API #[clap(subcommand)] pub command: Option, /// Print debug information, repeat for higher levels of debug info (max 1) #[arg(short, long, action = clap::ArgAction::Count)] pub verbose: u8, }