This repository was archived by the owner on Apr 26, 2021. It is now read-only.
Version 0.8.0
- New feature: Load and validate a spec from JS.
This allows to pre-compile the spec and speed up the CLI processing by ~ 30
times when deployed. There's no tooling around this yet, but the capability
is there: Just serialize and store the output ofneodoc.parseand later load
and deserialize it and feed it back to neodoc usingneodoc.run(spec).
— 2d712ba - New feature: Require flags (ex: '--foo') to be explictly passed, enabling the
original docopt behaviour. Thanks @robotops. Also see #61. — 8afb9e2 - New feature: Derive the program name from the usage section and fail a parse
if two usages start off with different program names.
— 005c826 - Improved: Error messages have been improved significantly, telling the user
more concisely what failed, why it failed and what was expected. Even when
matching deep into nested groups. Further, error messages are now layed out
using GNU utils convention, where the program name comes first, then the error
message, and then the usage overview. Thanks @moll. Also see #62.
— 005c826