CLI reference
Looking to get started with review? Check out our getting started guide.
usage: review [options] [-- <commit>]
where <commit> can be:
- a single commit (e.g. HEAD, HEAD~1, abc123)
- a commit range (e.g. HEAD~3..HEAD, main..feature)
Basic Commands
Review staged changes in git.
review
Review changes in a specific commit or range.
review -- <commit>
Review Options
Review all files in the repository.
review -A
# or
review --all
Review only unstaged changes.
Note
Only modified tracked files in the working tree (excludes untracked files) will be reviewed.
review -u
# or
review --dirty
Review a specific pull request.
review pr <pr-number>
Force a new review of the same changes.
review --again
Skip checking for updates.
review --no-update
Output review results in JSON format.
review --json
Authentication
Log in to review.ai using GitHub OAuth.
review login
Log out of review.ai.
review logout
Review Management
List your review history.
review list
Show a specific review.
review show <id>
Show a specific review and prompt for feedback.
review show --prompt-feedback <id>
System Commands
Show version information.
review version
Update the review binary to the latest version.
review update