New open-source CLI tool 'once' caches command output to reduce repeated authentication prompts
Developer Alex0ptr has released 'once', a Go-based command-line utility that runs a shell command and caches its stdout output in a small per-user background daemon for a configurable time-to-live. Repeated calls with the same command, directory and tenant key return the cached result instead of re-executing the command, and the daemon shuts down automatically once its last cached entry expires. It is installable via 'go install' and supports macOS and Linux.
GoKawiil's interpretation of the reporting above, not reported fact.
The tool targets a specific developer pain point: tools like 1Password's CLI require fingerprint or biometric approval on every secret read, which becomes tedious in scripts, shell configs or build tools like mise that repeatedly fetch the same credentials. By caching results per session or project via a tenant key, 'once' could reduce friction without requiring developers to store secrets in plaintext, though security-conscious teams may want to evaluate how cached secrets are held in memory.
- 'once' is a lightweight CLI daemon that caches command output for a set TTL to avoid repeated execution.
- It is designed primarily to reduce repeated manual approvals when reading secrets from tools like 1Password.
- The tool is open source, written in Go, and currently supports only macOS and Linux.
Source: github.com, 2026-10-09
Published there as: “Once: Cache CLI Commands”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.