#!/usr/bin/env node
import * as program from "commander";

program
  .arguments('message')
  .action(message => {
    console.log('Results: ', message);
  })
  .parse(process.argv);

#!/usr/bin/env node

--- 
+++ 
@@ -1 +1,9 @@
 #!/usr/bin/env node
+import * as program from "commander";
+
+program
+  .arguments('message')
+  .action(message => {
+    console.log('Results: ', message);
+  })
+  .parse(process.argv);
Make simple command line interface
