reddit-cli
command reference

thread

Read a post and its comment tree

Read a post and its comment tree

Read a post and its comment tree

Usage: reddit thread [OPTIONS] <URL_OR_ID>

Arguments:
  <URL_OR_ID>  Reddit post URL or ID

Options:
      --comment <COMMENT>            Focus the thread on this comment ID
      --format <FORMAT>              Choose how to render results [possible values: auto, json, jsonl, md, pretty]
      --sort <SORT>                  Order comments within the thread [possible values: confidence, top, new, controversial, old, qa]
      --source <SOURCE>              Choose the live API or the archive [possible values: auto, live, archive]
      --depth <DEPTH>                Maximum comment depth, with roots at zero
      --offline                      Use only the local store and ignore cache expiration
      --limit <LIMIT>                Maximum number of comments to return [default: 200]
      --refresh                      Fetch fresh results and update the cache
      --full                         Expand collapsed live replies
      --no-cache                     Skip cache reads and writes
      --max-requests <MAX_REQUESTS>  Maximum requests for live thread expansion
  -q, --quiet                        Suppress notes on stderr
  -o <OUTPUT>                        Write the rendered thread to this file
  -h, --help                         Print help