~/talk

Taking Back the Command Line with Go

Talkat GopherCon 2014 · 2014-04-24..04-26· [go]
slides:none on file

Claims that Go replaces Ruby for CLIs with rewrote the Cloud Foundry CLI from Ruby to Go, showing the actual code patterns used: interfaces for terminal and repositories, dependency injection, and structs for return values. Demonstrates a weekend exorcism rewrite and a repo that grows to ~1,800 commits. Delivers cross-compile dependency-free statically linked binaries so each platform gets one binary per platform, and reports that the approach works in production while reducing runtime-dependency problems.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Command line tools matter
  3. 3:35Dynamic languages in CLIs
  4. 7:10Go for Cloud Foundry
  5. 8:33Go CLI concepts
  6. 10:38Exorcism CLI in Go
  7. 13:28Cloud Foundry CLI rewrite
  8. 14:50Testing in Go
  9. 16:18Terminal UI in Go
  10. 17:40Command metadata
  11. 18:43Dependency injection
  12. 21:14Summary
  13. 21:39Q&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.