mirror of
https://github.com/thangisme/notes.git
synced 2025-09-25 11:24:04 -04:00
Initial commit
This commit is contained in:
7
node_modules/yargs/example/boolean_single.js
generated
vendored
Normal file
7
node_modules/yargs/example/boolean_single.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
var argv = require('yargs')
|
||||
.boolean('v')
|
||||
.argv
|
||||
;
|
||||
console.dir(argv.v);
|
||||
console.dir(argv._);
|
Reference in New Issue
Block a user