reddit-cli
command reference

cache search

Search the text of stored posts and comments

Search the text of stored posts and comments

Search the text of stored posts and comments

Usage: reddit cache search [OPTIONS] <QUERY>

Arguments:
  <QUERY>  SQLite full-text search query

Options:
      --format <FORMAT>  Choose how to render results [possible values: auto, json, jsonl, md, pretty]
  -s, --sub <SUB>        Restrict results to a subreddit
      --author <AUTHOR>  Restrict results to a username
      --source <SOURCE>  Choose the live API or the archive [possible values: auto, live, archive]
      --kind <KIND>      Restrict results to posts or comments [possible values: post, comment]
      --offline          Use only the local store and ignore cache expiration
      --limit <LIMIT>    Maximum number of items to return [default: 25]
      --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