structopt 0.3.1

Parse command line argument by defining a struct.
Documentation
1
2
3
4
5
error: methods in attributes are not allowed for subcommand
  --> $DIR/subcommand_and_methods.rs:17:29
   |
17 |     #[structopt(subcommand, long)]
   |                             ^^^^