@tiaanduplessis/ncli
Add a nifty CLI to your package
Last updated a year ago by tiaanduplessis .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @tiaanduplessis/ncli 
SYNC missed versions from official npm registry.

@tiaanduplessis/ncli

package version package downloads standard-readme compliant package license make a pull request

Add a nifty CLI to your package

Table of Contents

Install

This project uses node and npm.

$ npm install @tiaanduplessis/ncli
$ # OR
$ yarn add @tiaanduplessis/ncli

Usage

const ncli = require('@tiaanduplessis/ncli') // eslint-disable-line

ncli({
  onStdin: data => console.log(`${data}`),
  num: val => console.log(`The num is ${val}`),
  help: `
      --name Print name
      
      `,
  version: '1.0.0',
})

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am "Add some feature"
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT

Current Tags

  • 1.0.0                                ...           latest (a year ago)

1 Versions

  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |