talented-args
TypeScript icon, indicating that this package has built-in type declarations

0.2.5-beta • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i talented-args

Weekly Downloads

25

Version

0.2.5-beta

License

MIT

Unpacked Size

81.1 kB

Total Files

37

Last publish

Collaborators

  • panta82