JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q69807F
  • License MIT

CLI tool for validating AI-generated code quality

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 --help

Usage

# 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.sarif

Commands

  • scan - Scan code for AI-generated defects
  • init - Create .ocrrc.yml configuration
  • login - Set up license key
  • config - View or update configuration

License

BSL-1.1 - See LICENSE