Awesome Commandline Tools
summary
Shows that a production-grade CLI REPL with persistent history, case-insensitive context-aware completion, fish-style suggestions and syntax highlighting is implementable with 10 lines of Python using prompt_toolkit plus Pygments. Demos compare pgcli/mycli/dbcli, fish shell and bpython, highlight a bad MySQL default that lists 805 possibilities after FROM, and then builds an echo REPL that adds auto-suggestion from history, ctrl‑r search, emacs keybindings, completer and syntax highlighting — all working live.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:45Background
- 4:25Discoverability
- 6:35Fishshell
- 9:26User Focus
- 13:56Implementation Later
- 14:11BPython
- 16:11Configuration
- 17:29Demos
- 18:36Checklist
- 19:52Prompt Toolkit
- 28:49Prompt Checklist
- 29:05Resources
- 29:43Questions
related talks
33mUpgrading Python CLIs From Scripts to Interactive Tools
37mLet's Make Better Command Line Applications
25mThe Hitchhiker's Guide to CLIs in Python
02h 28mBuilding human-first and machine-friendly CLI applications
29mBuilding Nice Command Line Interfaces — A Look Beyond the stdlib
23mThe Hitchhiker's Guide to CLIs in Python
54mEmbrace the Unix Command Line and Supercharge Your PyData Workflow
30mCLI Tools for All the Things
