A Twitch.tv viewer reward and games system.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
440 B

  1. var optimist = require('./../index');
  2. var argv = optimist.usage('This is my awesome program', {
  3. 'about': {
  4. description: 'Provide some details about the author of this program',
  5. required: true,
  6. short: 'a',
  7. },
  8. 'info': {
  9. description: 'Provide some information about the node.js agains!!!!!!',
  10. boolean: true,
  11. short: 'i'
  12. }
  13. }).argv;
  14. optimist.showHelp();
  15. console.log('\n\nInspecting options');
  16. console.dir(argv);