cache-cli cli
Command-line cache inspector (get, set, del, stats, keys) with JSON output, built on cache.
go install github.com/ubgo/cache-cli@latest
- Language
- Go
- Go version
- 1.24
- Core deps
- 4 direct
- Latest tag
- v0.1.0
- License
- Apache-2.0
- Go modules
- 1
Highlights from the README
- Zero-glue debugging. Inspect a production or local cache without embedding a debug endpoint in your service.
- Scriptable. Exit codes (
0/1/2) and-jsonmake it safe to use in shell pipelines, health checks, and CI. - Namespace-aware. The
-nsflag applies the samecache.Namespacedprefix your service uses, so keys line up exactly. - Same semantics as your app. It talks through
ubgo/cache, soErrNotFound, TTL handling, and prefix scans behave identically to your running code. - Small surface. Five commands, four flags. Nothing to learn.