Basically, I'm looking to follow the POSIX recommendations for argument parsing.
Ideally, being able to have arguments parse themselves into types (e.g., if the arg is an integer, the library helps with the parsing.)
argparse:
- Fails to make non-optional arguments … non-optional by default.
- It's
ParseResulttype isn't aResult. (Actually, sometimes, it is, but it's aResult<(), i32>, which has its own ergonomic problems. - Not great support for subcommands. You can do it, but the generated usage strings don't come out right.
- The author refuses to do rustdoc documentation. It's not so much the refusal to use
rustdoc, as the fact that there is simply nothing supplimented. People are free to do as they feel best as to how they generate their documentation, butargparseoffers no reference documentation at all.