1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-20 18:55:36 +00:00
notes/node_modules/yargs/example/default_hash.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

9 lines
125 B
JavaScript

#!/usr/bin/env node
var argv = require('yargs')
.default({ x : 10, y : 10 })
.argv
;
console.log(argv.x + argv.y);