File: boolean_single.js

package info (click to toggle)
node-yargs 10.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,428 kB
  • sloc: makefile: 4; sh: 2
file content (7 lines) | stat: -rw-r--r-- 120 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#!/usr/bin/env node
var argv = require('yargs')
    .boolean('v')
    .argv
;
console.dir(argv.v);
console.dir(argv._);