minimist-methods
Map your node.js application's methods to command line arguments.
Install
Install with npm
$ npm i minimist-methods --save
Usage example
The following example is in the examples folder:
var plugins = ;var cache = {}; var app = { cachekey = val; } { return cachekey; }; var cli = cli;cli; cli;
Related projects
- minimist: parse argument options
- minimist-plugins: Simple wrapper to make minimist pluggable. ~20 sloc.
- minimist-expand: Expand minimist args with expand-object.
- minimist-events: Add events to minimist, ~30 sloc.
Running tests
Install dev dependencies:
$ npm i -d && npm test
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on August 15, 2015.