atac 0.20.0

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
14
use clap::Subcommand;
use crate::models::method::Method;

#[derive(Subcommand, Debug, Clone)]
pub enum MethodCommand {
    /// Print the current request method
    Get,
    
    /// Set the request method
    Set {
        /// Method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTION)
        new_method: Method
    }
}