PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
optimist
/
example
#!/usr/bin/env node var util = require('util'); var argv = require('optimist').argv; if (argv.s) { util.print(argv.fr ? 'Le chat dit: ' : 'The cat says: '); } console.log( (argv.fr ? 'miaou' : 'meow') + (argv.p ? '.' : '') );
[-] 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]