Overview

An incredibly simple command-line argument parsing utility. I would use optimist but it does not work with phantomjs, so I wrote my own.

Usage:

> phantomjs.cmd .\test.coffee 123 456 --name "George Mauer" --age 31 --debug

In your module:

var argv = require('nextArgs').argv; //{"_":["123","456"],"name":"George Mauer","age":"31","debug":true}