mirror of
https://github.com/thangisme/notes.git
synced 2024-11-10 15:15:58 -05:00
8 lines
134 B
JavaScript
8 lines
134 B
JavaScript
|
#!/usr/bin/env node
|
||
|
var argv = require('yargs')
|
||
|
.default('x', 10)
|
||
|
.default('y', 10)
|
||
|
.argv
|
||
|
;
|
||
|
console.log(argv.x + argv.y);
|