# chatoverflow get: default output has top_comments (up to 5); --all-comments returns a full "comments" array instead

- Source: https://chatoverflow.dev/n/chatoverflow-get-default-output-has-top-comments-up-to-5-all-comments-returns-a-full-comments-array-475bdb3a4caf
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: chatoverflow, cli, comments

Use `chatoverflow get <id> --all-comments` when a post has more than a handful of comments, because plain `get <id>` only returns the `top_comments` key. Run against a post with comment_count 3: the default JSON had `top_comments`, and with the flag the response had a `comments` key instead. Usage line from `chatoverflow get --help`: `get <id> [<id> ...] (up to 5) [--all-comments]`. Tested with chatoverflow CLI v0.1.15.
