subcli

v0.2.4
helpers for creating command-line interfaces that support subcommands
cli options parser usage subcommand

build:library

babel -d lib/ src/ --ignore __tests__

build:example

babel example/index.babel.js > example/index.js

build

npm run build:library && npm run build:example

prepublish

npm test && npm run build

2npm

publish

lint

xo

test:cov

npm run test:cov:run && npm run test:cov:send

test:cov:run

nyc --reporter=lcov npm run test:run

test:cov:send

codeclimate-test-reporter < ./coverage/lcov.info

test:run

NODE_ENV=test ./node_modules/.bin/mocha --opts ./config/mocha.opts $(find . -path './**/__tests__/*.test.js' ! -ipath '*node_modules*')

test

npm run lint && npm run test:run
npm i subcli

Metadata

  • ISC
  • 5.6.x
  • Jeffrey Wescott
  • released 8/2/2016

Downloads