structopt 0.3.1

Parse command line argument by defining a struct.
Documentation
1
2
3
4
5
error: parse attribute is only allowed on fields
  --> $DIR/struct_parse.rs:12:29
   |
12 | #[structopt(name = "basic", parse(from_str))]
   |                             ^^^^^