Skip to main content
WB

Wesley Berry

1episode
1podcast

We have 1 summarized appearance for Wesley Berry so far. Browse all podcasts to discover more episodes.

Featured On 1 Podcast

All Appearances

1 episode
Go Time

Crawl, walk & run your way to usable CLIs in Go

Go Time
58 minCLI Developer at Anchor

AI Summary

→ WHAT IT COVERS Wesley Berry shares his journey building Anchor's CLI in Go, deviating from standard libraries like Cobra and Bubble Tea to create custom testing and user experience solutions. → KEY INSIGHTS - **Golden File Testing:** Custom implementation prevents race conditions in CLI output testing by ensuring consistent rendering capture, unlike Charm's experimental library that missed timing-dependent elements like spinners. - **Interactive CLI Design:** Implement auto-authentication and org selection prompts instead of failing with error messages - redirect users to sign-in flow then continue original command automatically. - **API-First Development:** Use OpenAPI specs with Prism mock server for parallel CLI/API development, enabling rapid iteration without building full backend implementation until contract is finalized. - **Reentrant Command Architecture:** Design CLI commands to detect previous state and resume where stopped, allowing users to run same setup command multiple times without duplicating completed steps. → NOTABLE MOMENT Berry argues positional arguments should be eliminated from multi-command CLIs because learned patterns don't transfer between commands, preferring explicit flags for knowledge transferability. 💼 SPONSORS [{"name": "Fly.io", "url": "https://fly.io"}, {"name": "JetBrains", "url": "https://jetbrains.com/go"}, {"name": "Retool", "url": "https://retool.com"}] 🏷️ CLI Development, Go Programming, API Design, Developer Tools

Never miss Wesley Berry's insights

Subscribe to get AI-powered summaries of Wesley Berry's podcast appearances delivered to your inbox weekly.

Start Free Today

No credit card required • Free tier available