DIR: /proc/1784574/root/usr/share/doc/node-yargs/examples/ |
Current File : //proc/1784574/root/usr/share/doc/node-yargs/examples/default_singles.js |
#!/usr/bin/env node var argv = require('yargs/yargs')(process.argv.slice(2)) .default('x', 10) .default('y', 10) .argv ; console.log(argv.x + argv.y); |