parsy
Tiny command line options parser for node.js in CoffeeScript.
Installation
$ npm install parsy
Usage
It automatically parse process.argv
so you just have to "subscribe" for the options you want.
Example
var parsy = ; // register optionsparsy // no options passed // script -h // script --file file1.js ;
See parsy options object with all options passed
console;// example// { node: 'script.js', '-h': true, '--file': 'file1.js' }
License
See LICENSE.txt