taketalk
Ever wanted a bin for your node module?
Last updated 11 years ago by stephenplusplus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install taketalk 
SYNC missed versions from official npm registry.

taketalk

Ever wanted a bin for your node module?

Install

$ npm install --save taketalk

Usage

#!/usr/bin/env node

require('taketalk')({
  init: function (input, options) {
    console.log('This is the input from the CLI:', input);
    console.log('These are the options passed:', options);
  },

  help: 'Help yaself!' || function () {
    console.log('Print this when a user wants help.');
  },

  version: '0.1.1' || function () {
    console.log('Print this when a user asks for the version.');
  }
});

License

MIT © Stephen Sawchuk

Current Tags

  • 1.0.0                                ...           latest (11 years ago)

3 Versions

  • 1.0.0                                ...           11 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (2)
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |