Building Interactive npm Command Line Modules
summary
Node is practical for real CLIs: the talk shows a working npm module patterned from Unix ideas — filter, sink, source, ed, roguelike, spooler (daemon) — and walks through concrete tooling: argument parsing with yargs, prompts with prompt and inquirer, fullscreen UI with blessed/react-blessed. Examples include commands "run" and "config", aliases, defaults, help/usage syntax, and when to prefer scripting versus interactive input. The claim is actionable: buildable modules that parse args, prompt for choices, or render full-screen interfaces, and each approach is shown with code that actually runs.
AI-written summary · about
chapters (8)
- 0:00Interactive CLI modules
- 3:09Command line modules
- 5:14UNIX interface design
- 11:47Building CLI modules
- 17:47Roguelike key inputs
- 21:04Simplicity vs interactivity
- 22:07Commands over options
- 25:54Q&A
related talks
30mCLI Tools for All the Things
45mBUILDING CLI TOOLS WITH NODEJS
28mWriting command-line interfaces (CLIs) with React. Wait, what? Yeah!
22mZero-dependency CLI Applications with Node.js
26mZero-dependency CLIs with Node.js
26mBuilding Great CLI Experiences in Node
30mWrite CLI applications with Node.js like it’s 2023
39mThe Structure of Node.JS Applications
