1 use structopt::StructOpt; 2 3 #[derive(StructOpt, Debug)] 4 struct Opt { 5 verbose: bool, 6 } 7 main()8 fn main() { 9 Opt::from_args(); 10 }