JSPM

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

cli-commands

Package Exports

  • cli-commands

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 (cli-commands) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

view on npm npm module downloads Build Status Dependency Status js-standard-style

cli-commands

A convention for building command-driven CLI apps.

Example

const cliCommands = new CliCommmands([
 { name: 'send', description: 'Send something', command: require('send-command').create() },
 { name: 'logs', description: 'View the logs', command: require('logs-command').create() },
])

CliCommmands ⏏

Kind: Exported class

new CliCommmands(commandDefinitions)

Param Type Description
commandDefinitions Array.<object> One or more command definitions.

© 2016 Lloyd Brookes <75pound@gmail.com>. Documented by jsdoc-to-markdown.