You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`fetch-only` exists as a `splashboard` subcommand today, but it's treated as an internal daemon entry point (invoked by the parent splashboard process after drawing, stdio nulled out). Users have no stable interface for "refresh the cache now."
Use cases:
Pre-warming in a CI job or pre-deploy hook so the next cd is instant.
Forcing a refresh after changing config.
Scripting / debugging ("did this widget actually fetch?").
Proposal
Rename / promote to `splashboard fetch`:
`splashboard fetch` — run all fetchers for the active config, populate the cache, exit. Prints a compact summary to stdout on success (widget id, ttl, size). Exits non-zero if any fetcher failed.
`splashboard fetch <widget_id>` — refresh just one widget.
`splashboard fetch --force` — bypass TTL; refresh even widgets that are still fresh.
Open questions
Keep `fetch-only` as a hidden alias? The daemon spawn code hardcodes the subcommand name. If we rename, update the daemon side too — or keep both and mark `fetch-only` deprecated.
Output format: human-readable by default, `--json` flag for scripting?
Realtime widgets: nothing to do for them (no cache). Silently skip or mention in the summary?
Trust: same gate as rendering — only fetches widgets the current trust decision allows. Useful to surface `🔒 gated` lines in the summary.
Non-goals
Continuous daemon mode / background refresh. Out of scope; splashboard stays a one-shot tool.
Activity