llmlint 0.2.21

LLM-as-judge linter: enforce code-quality checks deterministic linters can't express, by driving real coding harnesses through oneharness.
Documentation
//! Command dispatch: wire the CLI to domain + io. Each command returns the
//! process exit code (a completed-but-failing lint is `1`, not an error).

pub mod check_ignores;
pub mod config;
pub mod doctor;
pub mod ignores;
pub mod init;
pub mod lint;
pub mod where_;

use crate::cli::{Cli, Command};
use crate::errors::Result;

pub fn dispatch(cli: Cli) -> Result<i32> {
    match cli.command {
        Some(Command::Lint(args)) => lint::run(args),
        Some(Command::CheckIgnores(args)) => check_ignores::run(args),
        Some(Command::Init(args)) => init::run(args),
        Some(Command::Config(args)) => config::run(args),
        Some(Command::Where(args)) => where_::run(args),
        Some(Command::Doctor) => doctor::run(),
        None => lint::run(cli.lint),
    }
}