prune
Prune the cache
Usage
omni cache prune [OPTIONS]
Options
-s
, --stale-only
Add filter to clear only stale cache entries
-
Required: No
-
Default:
false
-
Possible values:
true
,false
-o
, --older-than
Add filter to clear only stale cache entries
- Required: No
-l
, --larger-than
Add filter to clear only cache entries that are larger than the given size
- Required: No
-p
, --project
Add filter to clear only cache entries belonging to a project that matches the given project name, accepts glob patterns
- Required: No
-t
, --task
Add filter to clear only cache entries belonging to a task that matches the given task name, accepts glob patterns
- Required: No
-y
, --yes
Prune the cache without prompting for confirmation
-
Required: No
-
Possible values:
true
,false
-d
, --dry-run
Show the cache entries that would be deleted
-
Required: No
-
Default:
false
-
Possible values:
true
,false
Examples
omni cache prune [OPTIONS]