The Command Line Interface

  • Colin J. Ihrig


The first four chapters showed you the fundamentals of Node development. Starting with this chapter, the book shifts directions and begins focusing on the various APIs and modules used to create Node applications. This chapter focuses specifically on creating command line interfaces (CLI) for interacting with users. First, you will learn command line basics with Node’s built-in APIs. From there, you can expand upon the basics using the commander module, which you may remember from several npm examples in Chapter 2.


Command Line Event Handler Format String Command Line Interface Callback Function 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Colin J. Ihrig 2013

Authors and Affiliations

  • Colin J. Ihrig
    • 1
  1. 1.PAUS

Personalised recommendations