//! Handler for `mcptest conformance` (WOR-945).
//!
//! Dispatch site for the three subcommands. Each one delegates to a
//! sibling module so this file stays small.

use anyhow::Result;

use crate::cli::args::{ConformanceArgs, ConformanceCommand};

/// Top-level dispatch.
pub fn conformance_command(args: ConformanceArgs) -> Result<i32> {
    match args.command {
        ConformanceCommand::Run(a) => super::conformance_run::run_command(a),
        ConformanceCommand::Refresh(a) => super::conformance_refresh::refresh_command(a),
        ConformanceCommand::CheckIds(a) => super::conformance_check_ids::check_ids_command(a),
    }
}
