PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
optimist
/
example
var optimist = require('./../index'); var argv = optimist.usage('This is my awesome program', { 'about': { description: 'Provide some details about the author of this program', required: true, short: 'a', }, 'info': { description: 'Provide some information about the node.js agains!!!!!!', boolean: true, short: 'i' } }).argv; optimist.showHelp(); console.log('\n\nInspecting options'); console.dir(argv);
[-] reflect.js
[edit]
[-] xup.js
[edit]
[-] bool.js
[edit]
[+]
..
[-] default_hash.js
[edit]
[-] string.js
[edit]
[-] usage-options.js
[edit]
[-] divide.js
[edit]
[-] short.js
[edit]
[-] line_count_options.js
[edit]
[-] nonopt.js
[edit]
[-] line_count_wrap.js
[edit]
[-] default_singles.js
[edit]
[-] boolean_single.js
[edit]
[-] boolean_double.js
[edit]
[-] line_count.js
[edit]