@tiaanduplessis/ncli

1.0.0 • Public • Published

@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

Readme

Keywords

Package Sidebar

Install

npm i @tiaanduplessis/ncli

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.51 kB

Total Files

7

Last publish

Collaborators

  • tiaanduplessis