CHAPTER 5

image

The Command Line Interface

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 Arguments

Command line arguments constitute one of the most fundamental ways of ...

Get Pro Node.js for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.