talented-args
v0.2.5-beta
Published
Command line arguments parser, with fancy looks, command support and types. Library, not a "framework".
Downloads
103
Readme
talented-args
Command line arguments parser, with fancy looks, command support and types. Library, not a "framework".
Based on command-line-args
and command-line-usage
libraries (for now).
More info: https://pantas.net/node_argument_parsers/
Added stuff:
- A story for commands, without a "framework" API
- Banner image (eg. company logo)
- Ability to deeply set result value to arbitrary places in the result object (no longer tied to
name
) - Typescript support
Release log
0.2.5-beta
- Add
allowNoCommand
option
0.2.4-beta
- Improve typings by supporting destination parameter names in output object (very imperfect)
0.2.1-beta
- Improved typings
0.2.1-beta
- Improved typings
0.2.0-beta
- Add (typed) support for multiple commands per type definition.
- Print out command name on the command-specific help screen.
- Allow user to define command details, to be shown on the command-specific screen. Backwards compatible changes.
Stability
This library is currently in BETA. There are likely bugs, and API-s might change. It shouldn't be used by anyone but me.
License
MIT