© Robert Kowalski 2017

Robert Kowalski, The CLI Book, https://doi.org/10.1007/978-1-4842-3177-7_1

1. What Makes a Good CLI?

Robert Kowalski

(1)Hamburg, Germany

In this chapter, you’ll take a look at successful command-line clients and what they do well. This will help you understand the problems users face, and thus help you build better command-line clients with Node.js later in the book.

CLI Basics

Let’s first take a look at how users typically use a command-line interface (CLI). Most of the time, users sit in front of a keyboard and interact with a terminal. You should use simple and recognizable commands for the CLI. But sadly, just using easily recognizable commands won’t get you far enough.

The problem will be easier to understand if you take ...

Get The CLI Book: Writing Successful Command Line Interfaces with Node.js 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.