In this chapter, we will write a database administration tool named lounger and follow the principles that make a good CLI. The code for every section is available at https://github.com/theclibook/theclibook/tree/1.0/sourcecode, which you can access via a link at the end of each section. The main repository is at https://github.com/theclibook/theclibook. If you want to play with the code, don’t forget to run npm install in the folder for the section you want to test. The code also has a test suite that you can run with npm test.
We’ll start with the ...