mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 04:17:33 -04:00
11 lines
232 B
JavaScript
11 lines
232 B
JavaScript
#!/usr/bin/env node
|
|
var util = require('util');
|
|
var argv = require('yargs').argv;
|
|
|
|
if (argv.s) {
|
|
util.print(argv.fr ? 'Le chat dit: ' : 'The cat says: ');
|
|
}
|
|
console.log(
|
|
(argv.fr ? 'miaou' : 'meow') + (argv.p ? '.' : '')
|
|
);
|