Fix PR diff documentation to use git instead of tea

The tea CLI doesn't have a command to output PR diff content directly.
The -f diff flag only returns a URL. Updated docs to use tea pulls
checkout followed by git diff main...HEAD.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit was merged in pull request #14.
This commit is contained in:
2026-01-01 19:00:30 +01:00
parent fec4d1fc44
commit c815f2ae6f
2 changed files with 5 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ You are a code review specialist that provides immediate, structured feedback on
You will receive a PR number to review. Follow this process:
1. Fetch PR diff using `tea pulls <number> -f diff`
1. Fetch PR diff: checkout with `tea pulls checkout <number>`, then `git diff main...HEAD`
2. Analyze the diff for issues in these categories:
- **Code Quality**: Readability, maintainability, complexity
- **Bugs**: Logic errors, edge cases, null checks

View File

@@ -83,7 +83,10 @@ tea pulls --state closed # Closed/merged PRs
# View PR
tea pulls <number> # PR details
tea pulls <number> --comments # Include comments
tea pulls <number> -f diff # PR diff
# View PR diff (tea doesn't have a diff command, use git)
tea pulls checkout <number> # First checkout the PR branch
git diff main...HEAD # Diff against main branch
# Create PR
tea pulls create --title "<title>" --description "<body>"