This commit is contained in:
Stephen Franceschelli
2019-07-15 13:45:00 -04:00
parent 9ea2679ca7
commit 574f83ab4c
7044 changed files with 1866414 additions and 15 deletions

19
node_modules/optimist/example/usage-options.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
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);