This is a simple project of how a CLI written in JavaScript could look like. Just type yarn
and npm i -g
in your terminal to install it globally. After that you can start it by executing cli-tutorial
. Choose dummy.js in the list and it will create dummy.test.js using all the exported properties of dummy.js.
This is just an example to get you started building your own CLI.
To follow along you can find an article on Medium: https://medium.com/@jens.hansen/how-to-increase-your-coding-performance-by-creating-a-javascript-cli-a13454d308ec