reddit-cli
command reference

cache

Inspect or manage the local store

Inspect or manage the local store

Inspect or manage the local store

Usage: reddit cache [OPTIONS] <COMMAND>

Commands:
  search  Search the text of stored posts and comments
  stats   Show counts of cached responses and stored items
  prune   Remove old responses and items
  clear   Delete the local store and cached token
  help    Print this message or the help of the given subcommand(s)

Options:
      --format <FORMAT>  Choose how to render results [possible values: auto, json, jsonl, md, pretty]
      --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