boolean_double.js 153 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 #!/usr/bin/env node var argv = require('optimist') .boolean(['x','y','z']) .argv ; console.dir([ argv.x, argv.y, argv.z ]); console.dir(argv._);