Package Exports
- @opencodereview/cli
- @opencodereview/cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@opencodereview/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@opencodereview/cli
CLI tool for Open Code Review - AI code quality scanner
Installation
npm install -g @opencodereview/cli
# or
npx @opencodereview/cli --helpUsage
# Quick scan
ocr scan src/
# With L2 (embedding + Ollama)
ocr scan src/ --sla L2
# PR diff scan
ocr scan src/ --diff --base origin/main
# Output formats
ocr scan src/ --format json --output report.json
ocr scan src/ --format html --output report.html
ocr scan src/ --format sarif --output report.sarifCommands
scan- Scan code for AI-generated defectsinit- Create .ocrrc.yml configurationlogin- Set up license keyconfig- View or update configuration
Links
License
BSL-1.1 - See LICENSE