~/talk

Building Interactive npm Command Line Modules

Talkat HolyJS 2016 · on Sunday, 2016-12-11· [nodejs]

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

  1. 0:00Interactive CLI modules
  2. 3:09Command line modules
  3. 5:14UNIX interface design
  4. 11:47Building CLI modules
  5. 17:47Roguelike key inputs
  6. 21:04Simplicity vs interactivity
  7. 22:07Commands over options
  8. 25:54Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.