This commit is contained in:
rkiel
2019-07-14 22:04:17 -04:00
parent 4c4a16af04
commit 604d3d84c4
4 changed files with 85 additions and 24 deletions

20
js/commander.js Normal file
View File

@@ -0,0 +1,20 @@
const commander = require("commander");
const program = new commander.Command();
const something = program.parse(process.argv);
let lib;
function parse() {
return something;
}
function args() {
return something.args;
}
lib = {
args,
parse
};
module.exports = lib;