Taking Back the Command Line with Go
summary
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
chapters (13)
- 0:00Introduction
- 1:07Command line tools matter
- 3:35Dynamic languages in CLIs
- 7:10Go for Cloud Foundry
- 8:33Go CLI concepts
- 10:38Exorcism CLI in Go
- 13:28Cloud Foundry CLI rewrite
- 14:50Testing in Go
- 16:18Terminal UI in Go
- 17:40Command metadata
- 18:43Dependency injection
- 21:14Summary
- 21:39Q&A








