#[macro_use]
extern crate structopt;
use structopt::StructOpt;
#[derive(StructOpt, Debug)]
struct Opt {
#[structopt(long = "method", group = "verb")]
method: Option<String>,
#[structopt(long = "get", group = "verb")]
get: bool,
#[structopt(long = "head", group = "verb")]
head: bool,
#[structopt(long = "post", group = "verb")]
post: bool,
#[structopt(long = "put", group = "verb")]
put: bool,
#[structopt(long = "delete", group = "verb")]
delete: bool,
}
fn main() {
let opt = Opt::from_args();
println!("{:?}", opt);
}