1.0.3 • Published 2 years ago
klar-commander v1.0.3
Usage
In your code:
const commander = require("klar-commander");
commander.on("build", params => {
// perform your logic ...
});
Then in you console:
node [filename] [command] --[optionName]=[optionValue]
For example:
node index.js build --paramA=someValue --paramB=antoherVale --paramC=123