Skip to content

Add CLI for flush/invalidate/list#36

Merged
ryanmitchell merged 1 commit intomainfrom
feature/cli
Mar 12, 2026
Merged

Add CLI for flush/invalidate/list#36
ryanmitchell merged 1 commit intomainfrom
feature/cli

Conversation

@ryanmitchell
Copy link
Contributor

Adds three commands for managing the cache tracker outside of the Control Panel, useful for deployment scripts, scheduled tasks, and debugging.

Commands

  • cache-tracker:flush — Invalidates and removes all tracked URLs from the tracker
  • cache-tracker:invalidate {url} — Removes a single URL from the tracker and invalidates it from the static cache; exits with code 1 if the URL isn't tracked
  • cache-tracker:list [--url=] — Displays a table of all tracked URLs and their tags; accepts an optional --url flag with wildcard prefix support (e.g. --url=https://example.com/blog/*) to filter results

@ryanmitchell ryanmitchell merged commit 63907da into main Mar 12, 2026
4 checks passed
@ryanmitchell ryanmitchell deleted the feature/cli branch March 12, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant