TTY - Ruby alchemist’s secret potion
summary
A suite called TTY ships as a meta‑gem and scaffolds a gem-based CLI with Thor-style commands; install with `gem install tty`. It exposes about 19 focused libraries (prompt, config, table, progressbar, spinner, pager), TTY::Config is a single ~400-line file supporting TOML/YAML and dot‑key nesting, and composable pieces power a real tool called coinpair that fetches markets, prompts for holdings and works in demos and on Windows. Companies using it include Google, Fastlane, Puppet Labs, Code Climate.
AI-written summary · about
chapters (11)
- 0:00Introduction and setup
- 2:10Need for terminal standards
- 3:36TTY gem principles
- 5:20Scaffolding with TTY
- 7:53CLI structure explained
- 12:39Demo of TTY config
- 17:23Testing with TTY
- 18:48Overview of TTY libraries
- 25:19Real-world TTY example
- 27:46Live demo of coin pair
- 30:01Q&A session
related talks
39mThe Ruby Developer's Command Line Toolkit
34mThe Ruby Developer's Command Line Toolkit
42mUsing Ruby to Craft and Test Beautiful Command Line Applications
31mThe Joy of Text
32mRuby Batteries Included
27mReady: 12x Faster Ruby CLIs Through Spectacular Overengineering
05mLightning Talk: A Conventional Ruby Talk
31mPublishing Them as Gems
