Once you've setup the scaffolding of your Command Line Application, you've got to use the events module to bind to the javascript events that get fired when an admin interacts with your application from the console.
This is a free preview of the "Node.js Master Class" course offered at Pirple.com. In that course we teach you how to build applications in raw Node.js with no frameworks, no NPM, and no dependencies.
Watch the all the preview lectures in this section by clicking on this playlist:
• Building a CLI - The Node.js Master C...
There are several other sections of free previews available on our Youtube channel:
/ pirple
Want to learn to code? Join the community at https://pirple.com
#node.js #nodejs #npm