Sha256: 63e9b9be0726f4af797961acb28d199cb6a6a9765d16573d9ba7f82dd57d0355

Contents?: true

Size: 440 Bytes

Versions: 356

Compression:

Stored size: 440 Bytes

Contents

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);

Version data entries

356 entries across 211 versions & 18 rubygems

Version Path
trusty-festivity-extension-2.6 node_modules/bower/node_modules/handlebars/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.19 node_modules/bower/node_modules/bower-config/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.19 node_modules/bower/node_modules/handlebars/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.18 node_modules/bower/node_modules/bower-config/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.18 node_modules/bower/node_modules/handlebars/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.17 node_modules/bower/node_modules/bower-config/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.17 node_modules/bower/node_modules/handlebars/node_modules/optimist/example/usage-options.js
stylus-source-0.54.5 vendor/node_modules/optimist/examples/usage-options.js
trusty-festivity-extension-2.5.16 node_modules/bower/node_modules/handlebars/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.16 node_modules/bower/node_modules/bower-config/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.15 node_modules/bower/node_modules/bower-config/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.15 node_modules/bower/node_modules/handlebars/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.14 node_modules/bower/node_modules/bower-config/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.14 node_modules/bower/node_modules/handlebars/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.13 node_modules/bower/node_modules/bower-config/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.13 node_modules/bower/node_modules/handlebars/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.12 node_modules/bower/node_modules/bower-config/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.12 node_modules/bower/node_modules/handlebars/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.11 node_modules/bower/node_modules/handlebars/node_modules/optimist/example/usage-options.js
trusty-festivity-extension-2.5.11 node_modules/bower/node_modules/bower-config/node_modules/optimist/example/usage-options.js