A repository is trending on GitHub this week around a thesis as old as Unix and newly relevant: anything worth automating is worth a command line.
The terminal looks archaic and remains the most composable interface computing has. The reasons are conventions - and conventions can be learned in an afternoon.
The grammar of composability
CLI power comes from one design rule: tools accept text streams and emit text streams. Any tool’s output can become any other tool’s input, which is why thirty small tools outperform one monolith.
The pipeline is the interface. Each stage knows nothing about the others, which is why tools written decades apart still work together perfectly.
The conventions that carry meaning
A handful of conventions make CLIs predictable: exit codes signal success or failure, stderr carries diagnostics while stdout carries data, and flags follow POSIX-style patterns.
| Convention | What it communicates | Why scripts depend on it |
|---|---|---|
| Exit code zero | Success | Scripts branch on the code |
| stdout vs stderr | Data vs diagnostics | Pipes carry data, logs stay visible |
| Consistent flags | Learnable interface | Muscle memory transfers across tools |
| Machine-readable output | Parseable results | Automation without screen-scraping |
Designing a good CLI
Good command-line tools share design habits: one clear job per command, flags named for what they do, sensible defaults, and output that stays stable across versions.
- Do one thing and name the command after it.
- Defaults should serve the common case.
- Never break output formats that scripts parse.
- Provide a quiet mode and a verbose mode.
The bar is higher than it looks: a CLI is an API with a typing interface, and its stability is a promise to every script that uses it.
Drop in your PDF - it doesn't leave your device.
Every miss becomes a red node on your map.
Free plan: 21 nodes, no card, no countdown.
The bigger picture
Graphical interfaces optimize discovery; command lines optimize composition. The two coexist because they answer different questions - what can I do, versus how do I chain it.
So this week’s trending repository is participating in a fifty-year design tradition. The pipes still work, and every new tool that honors the conventions inherits everything before it.
The bottom line: Text streams are the universal interface between tools. Exit codes and stream separation make automation reliable. Stable output formats are promises to every downstream script. One job per command keeps the grammar learnable.
Key takeaways
- Text streams are the universal interface between tools.
- Exit codes and stream separation make automation reliable.
- Stable output formats are promises to every downstream script.
- One job per command keeps the grammar learnable.
Quick answers
Why do developers still love the terminal?
Composition. Chaining small tools solves novel problems in seconds, which fixed graphical workflows cannot match.
What breaks a CLI’s composability?
Inconsistent output, interactive-only operation and exit codes that do not reflect results - each forces scripts to guess.
Should my tool have both a GUI and a CLI?
If both audiences exist, yes - sharing one core engine with two interfaces is a proven, maintainable pattern.
One thing to do tonight
Tonight, chain two commands you have never combined into one pipeline. The moment it works, the composable-grammar argument stops being theoretical.