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