sapling/lib/cliparser
Jun Wu 76cb250fcd cliparser: store positional args in structs
Summary:
This makes it possible to use one structure instead of a structure + another
`args` list.

The current version only supports a `Vec<String>` field and there is no verification
about how many arguments that `Vec<String>` can have. In the future we can add:
- Verification about arguments. Potentially change `From<ParseOutput>` to `TryFrom<ParseOutput>`.
- Individual named arguments as individual fields.

Reviewed By: sfilipco

Differential Revision: D16733272

fbshipit-source-id: 2bb407fff6cd1790cf33e8ce5527bb5e44255215
2019-08-19 19:27:30 -07:00
..
src cliparser: store positional args in structs 2019-08-19 19:27:30 -07:00
Cargo.toml cliparser: stop using vendored shlex 2019-08-08 22:54:08 -07:00