1 2 3 4 5 6 7 8 9 10 11 12 13
use clap::Subcommand; use crate::models::auth::auth::Auth; #[derive(Subcommand, Debug, Clone)] pub enum AuthCommand { /// Print the current request auth method Get, /// Set the request auth method Set { #[command(subcommand)] auth_method: Auth } }