diff --git a/c/Commander.js b/c/Commander.js new file mode 100644 index 000000000..b90745e39 --- /dev/null +++ b/c/Commander.js @@ -0,0 +1,17 @@ +const { Command } = require('commander'); +const program = new Command(); + +program + .name('Hello-World') + .description('CLI to print hello world') + .version('1.0.0'); + +program + .command("print") + .alias("-pr") + .description("print hello world") + .action(()=>{ + console.log("Hello World") + }) + +program.parse();