@review-my-code/rmcode
v0.1.8
Published
AI code review from your terminal. Catches logic errors, null risks, security holes, and broken error handling.
Maintainers
Readme
RMCode CLI
Run RMCode from your terminal.
npm install -g @review-my-code/rmcode
rmcode login
export RMC_API_KEY=rmc_...
rmcode --stagedThe CLI sends the selected diff, file, or stdin content to RMCode for review.
Set RMC_API_KEY before running a review; anonymous CLI reviews are disabled.
Common Commands
rmcode # review branch diff from merge base
rmcode --pr 123 # review GitHub PR #123 for this repo
rmcode --pr https://github.com/owner/repo/pull/123
rmcode --staged # review staged changes
rmcode --unstaged # review unstaged changes
rmcode --all # review all uncommitted changes, including safe text files
rmcode src/auth.ts # review one file
git diff main | rmcode # review a custom diff; language is detected from filenames
rmcode --json --fail-on-findings
rmcode cache clear # clear reusable PR checkout cache
rmcode update # update to the latest CLIReview commands check for the latest published CLI before uploading code. If a
newer version is available, run rmcode update and retry.
rmcode --pr fetches PR metadata and diff from GitHub, caches a reusable base
checkout under ~/.cache/rmcode/pr-repos, and runs the same pinned context
extractor used for local diff reviews. Use GH_TOKEN, GITHUB_TOKEN, or
gh auth login for private repositories.
