rest_cli 0.1.0

Send HTTP requests from the command line
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::path::PathBuf;
use structopt::StructOpt;

#[derive(StructOpt)]
pub struct Cli {
    /// Path to the file to be read
    #[structopt(parse(from_os_str))]
    pub path: PathBuf,

    /// Display response headers
    #[structopt(short, long)]
    pub verbose: bool,

    /// If set, output won't be colored
    #[structopt(long = "no-color")]
    pub no_color: bool,
}