-
As we started to flesh out our CLI, we also wanted to test edge cases and detect regressions. I surveyed public cobra/bubbletea based CLIs to look for ideas, and found frustratingly few tests. Then we stumbled upon Charm's teatest which gave us a starting point.
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
As we started to flesh out our CLI, we also wanted to test edge cases and detect regressions. I surveyed public cobra/bubbletea based CLIs to look for ideas, and found frustratingly few tests. Then we stumbled upon Charm's teatest which gave us a starting point.
-
We also lean into our OpenAPI spec to keep us honest during implementation using committee. assert_schema_conform tests alignment and the middleware notifies us of any live discrepancies. These combine to allow for red green implementation while protecting us from regressions.
Related posts
-
The power of the CLI with Golang and Cobra CLI
-
O poder do CLI com Golang e Cobra CLI
-
Which packages do you recommend for building cli tools?
-
Re-introducing "define" - A command-line dictionary (thesaurus) app, with access to multiple sources, written in Go.
-
Re-introducing "define" - A command-line dictionary (thesaurus) app, with access to multiple sources, written in Go.