Demonstrating a pragmatic way on how to test code paths resulting in process.exit
using the Jest test library.
Month: September 2021
Commander options hands-on – advanced CLI’s with NodeJS
The Commander package is a great utility for building a CLI with NodeJS. This article provides a comprehensive hands-on for the various option features of Commander.