~/talk

Back to the Future: Modernizing CLIs Using Go

Talkat GopherCon Singapore 2023 · 2023-11-02..11-03· [developer-experience, go]
slides:none on file

Argues that Go makes CLIs simpler to write, cross compile and maintain and demonstrates a working time travel CLI that parses commands like time travel to 1985, pause --duration=2h and return, handles signals for graceful exit, emits structured output (text JSON YAML), and shows a live dashboard with a speedometer that hits 88.8 mph before completion. Uses Cobra for command scaffolding, termdash and fatih/color for UI, and standard packages for input; demo runs and the code is on GitHub.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 0:45Why modernize CLIs with Go
  3. 2:10Evolution of CLIs over time
  4. 3:59Why Go powers modern CLIs
  5. 7:12Designing human-first CLIs
  6. 9:02Naming and structuring CLI commands
  7. 13:18Handling signals in CLIs
  8. 14:44Crafting effective CLI output
  9. 17:36Interactivity and security in CLIs
  10. 18:41CLI guidance and documentation
  11. 19:27Live demo introduction
  12. 20:11Demo: Time travel to 1985
  13. 21:17Demo: Dashboard output
  14. 22:55Demo: Code walkthrough
  15. 24:51Frameworks and tools used
  16. 25:56Q&A and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.