atac 0.18.2

Arguably a Terminal API Client. Feature-full, free, open-source, offline and account-less.
1
2
3
4
5
6
7
8
9
10
11
12
13
use clap::Subcommand;
use crate::models::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
    }
}