@bobmatnyc/ai-code-review
Version:
A TypeScript-based tool for automated code reviews using AI models from Google Gemini, Anthropic Claude, and OpenRouter
23 lines (22 loc) • 991 B
TypeScript
/**
* @fileoverview Command handler for the code review functionality.
*
* This module serves as the main entry point for the code review command.
* It delegates to specialized modules for argument parsing, file discovery,
* and review orchestration, following the Single Responsibility Principle.
*
* Key responsibilities:
* - Delegating to the argument parser for command-line argument handling
* - Delegating to the review orchestrator for coordinating the review process
* - Providing a simple interface for the CLI to invoke the review functionality
*
* The module is designed to be a thin wrapper around the core functionality,
* making it easier to test and maintain the codebase.
*/
import { ReviewOptions } from '../types/review';
/**
* Main entry point for the code review command
* @param target Path to the file or directory to review
* @param options Review options
*/
export declare function reviewCode(target: string, options: ReviewOptions): Promise<void>;