UNPKG

@bobmatnyc/ai-code-review

Version:

A TypeScript-based tool for automated code reviews using AI models from Google Gemini, Anthropic Claude, and OpenRouter

22 lines (21 loc) 973 B
/** * @fileoverview Main entry point for the AI Code Review CLI tool. * * This file serves as the primary entry point for the AI Code Review command-line interface. * It handles environment variable loading, command-line argument parsing, and dispatches * to the appropriate command handlers. The tool supports multiple review types including * quick fixes, architectural reviews, security reviews, performance reviews, and unused code detection. * * Key responsibilities: * - Loading environment variables from .env.local * - Setting up command-line interface and argument parsing * - Dispatching to appropriate command handlers based on user input * - Providing help and usage information * - Handling model testing and verification * - Testing model functionality and API keys * * Usage: ai-code-review [file|directory] [options] * ai-code-review model-test [provider:model] [options] * ai-code-review test-build [options] */ export {};