command reference
sub
List posts from a subreddit
List posts from a subreddit
List posts from a subreddit
Usage: reddit sub [OPTIONS] <NAME>
Arguments:
<NAME> Subreddit name
Options:
--format <FORMAT> Choose how to render results [possible values: auto, json, jsonl, md, pretty]
--sort <SORT> Post order. Defaults to hot for live and new for archive [possible values: hot, new, top, rising, controversial]
--source <SOURCE> Choose the live API or the archive [possible values: auto, live, archive]
--time <TIME> Time period for the listing [possible values: hour, day, week, month, year, all]
--limit <LIMIT> Maximum number of posts to return [default: 25]
--offline Use only the local store and ignore cache expiration
--after <AFTER> Resume from a previous page cursor
--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