DEV Community

Discussion on: Build a CLI with Node.js

Collapse
rushankhan1 profile image
Rushan Khan Author • Edited on

Thanks for reading! I did use the showHelp() function but that only showed the usage instructions when I used the --help flag, I wanted to show the usage too when no argument was passed hence I also made a custom usage template to print it out in the absence of an argument.