reddit-cli
command reference

cache prune

Remove old responses and items

Remove old responses and items

Remove old responses and items

Usage: reddit cache prune [OPTIONS]

Options:
      --format <FORMAT>          Choose how to render results [possible values: auto, json, jsonl, md, pretty]
      --older-than <OLDER_THAN>  Remove entries older than this duration
      --source <SOURCE>          Choose the live API or the archive [possible values: auto, live, archive]
      --offline                  Use only the local store and ignore cache expiration
      --refresh                  Fetch fresh results and update the cache
      --no-cache                 Skip cache reads and writes
  -q, --quiet                    Suppress notes on stderr
  -h, --help                     Print help