ubgo is in early alpha: libraries and APIs may still change.

Skip to content
ubgo Alpha

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 -json make it safe to use in shell pipelines, health checks, and CI.
  • Namespace-aware. The -ns flag applies the same cache.Namespaced prefix your service uses, so keys line up exactly.
  • Same semantics as your app. It talks through ubgo/cache, so ErrNotFound, TTL handling, and prefix scans behave identically to your running code.
  • Small surface. Five commands, four flags. Nothing to learn.