1 2 3 4 5 6 7 8 9
#[derive(Debug, Parser)] struct SshAuthorizedOpt { #[clap(short, long)] debug: bool, #[clap()] account_id: String, #[clap(short, long, action = clap::ArgAction::SetTrue)] version: bool, }