~ pr-review

Flags & Commands

All available CLI flags and sub-commands for pr-review.

Main command

pr-review [review] [flags]

Flags reference

FlagDescription
(no flags)Interactive mode — prompts for provider, model, branches
--stagedReview only staged changes (git diff --staged)
--model=<id>Override model for this run (e.g. --model=claude-opus-4-6)
--focus=<area>Focus the review on a specific area (security, performance, bugs)
--base=<branch>Override destination branch for this run
--output=<file>Override output filename for this run
--provider=<id>Override provider (claude, copilot, codex, gemini, cursor)
--versionPrint pr-review version
--helpShow help text

Sub-commands

CommandDescription
pr-review reviewExplicit review subcommand (same as running pr-review alone)
pr-review configView current config and update values interactively
pr-review --helpShow help text and available flags
pr-review --versionPrint installed version

Focus areas

When using --focus, the review prompt is adjusted to emphasise that area:

ValueDescription
securityInjection, auth, data exposure, secrets
performanceComplexity, N+1 queries, memory, caching
bugsLogic errors, edge cases, null handling
styleCode readability, naming, structure

Examples

terminal
# Basic review (interactive)
pr-review

# Explicit review subcommand
pr-review review

# Review staged changes only
pr-review review --staged

# Security-focused review with a specific model
pr-review review --focus=security --model=claude-opus-4-6

# Non-interactive: specify provider, model, and base branch via flags
pr-review review --provider=gemini --model=pro --base=main

# Update config
pr-review config

# Check version
pr-review --version