~/talk

How Not To Build Your CLI’s

Talkat XtremeJS 2025 · on Tuesday, 2025-12-02· [developer-experience]
slides:none on file

Lists the anti-patterns that cause data loss and automation failure with concrete examples: git branch -D and Docker’s capital -P missteps, curl’s -d / -X surprises, and a joke about a 500MB clock CLI. Explains POSIX and GNU flag rules, recommends concrete fixes like --delete --force plus confirmation, use of --method/-m, YAML firewall configs, dry-run and --no-interaction for scripting, clear help and error messages, semantic versioning, and smaller binaries for predictable, automatable CLIs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:14Every flag a landmine
  3. 2:00Ambiguity and verbosity
  4. 3:23Avoid config and automation
  5. 4:06Interactivity and mystery flags
  6. 5:08Bloat and unhelpful errors
  7. 5:52Conclusion
  8. 6:12What is POSIX
  9. 8:40Apply POSIX standards
  10. 10:06Clearer flags and commands
  11. 11:51Config files and dry runs
  12. 12:34Subcommands and automation
  13. 13:19Footprint and versioning
  14. 14:23Helpful help and errors
  15. 15:28Open for questions
~/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.