~/talk

Awesome Commandline Tools

Talkat PyCon India 2020 · 2020-10-02..10-05· [developer-experience]
slides:none on file

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

  1. 0:00Introduction
  2. 1:45Background
  3. 4:25Discoverability
  4. 6:35Fishshell
  5. 9:26User Focus
  6. 13:56Implementation Later
  7. 14:11BPython
  8. 16:11Configuration
  9. 17:29Demos
  10. 18:36Checklist
  11. 19:52Prompt Toolkit
  12. 28:49Prompt Checklist
  13. 29:05Resources
  14. 29:43Questions
~/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.