~/talk

Building Nice Command Line Interfaces — A Look Beyond the stdlib

TalkinGermanat EuroPython 2015 · 2015-07-20..07-26· [python, developer-experience]
links:none on file
slides:none on file

Compares Python command-line libraries click, docopt and cliff, showing minimal code examples that produce help text and parse repeating options. Demonstrates testing click apps using click’s test runner to capture exit codes and stdout, explains plugin/entrypoint setup for multi-command applications, and covers table/list output formatting and cases where custom parsing is needed, with concrete tradeoffs and copyable snippets.

AI-written summary · about

  1. 0:00CLI usability intro
  2. 4:32Click library basics
  3. 8:10Commands and endpoints
  4. 10:44Options and arguments
  5. 14:07Default values and types
  6. 17:45Testing CLI with Click
  7. 19:35CLI output formatting
  8. 22:03Extending CLI with plugins
  9. 26:39Interactive CLI configs
  10. 27: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.