mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 06:27:23 -04: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);
|