Implement --help and --version
felixSchl opened this issue · 2 comments
felixSchl commented
The developer will be able to specify the option that will trigger the --help
and --version
convenience functions, with fallbacks to --help
and --version
.
- Implement
--help
. If matched, print the docopt text. (feature/help) - Implement
--version
. If matched, print either the npm package version or a user-provided version string
moll commented
Not overly difficult to do now, either:
if (args["--version"]) return void process.stdout.write(VERSION_TEXT)
felixSchl commented
Available in version 0.10.0 - https://github.com/felixSchl/neodoc/releases/tag/v0.10.0