--json returns the requested fields as a JSON object, and files expands to the list of paths the PR touches. Automate review checks by piping the output into jq. The field names match the GitHub API naming, so body is the PR description.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.