JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25951
  • Score
    100M100P100Q135747F
  • License MIT

So you want a CLI...

Package Exports

  • sywac
  • sywac/api
  • sywac/types/boolean
  • sywac/types/type

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sywac) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

sywac

So you want a CLI...

A better CLI framework, made for the ES2015 era.


NOTE! This project is still in prerelease - docs covering the full API will be available soon!


Feature Highlights

  • Single package install
  • Asynchronous parsing, validation, and command execution
  • Type-based argument parsing
  • Support for simple CLIs or complex nested command trees
  • First-class support for positional arguments, with or without commands
  • Flexible auto-generated help content
  • Support for ANSI styles/colors (we recommend chalk)
  • Plug in your own types or override/extend the built-in ones
  • Coherent API
  • Parse strings as easily as process.argv

Installation

$ npm install --save sywac

License

MIT