mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 03:17:30 -04:00
9 lines
125 B
JavaScript
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);
|