"""Lint CLI.""" import logging import typer from m2mconfig.registry import validate_config logger: logging.Logger = logging.getLogger(__name__) lint_cli: typer.Typer = typer.Typer() @lint_cli.command("validate", short_help="Validate m2m.json using the linter") def validate(path: str) -> None: """CLI command to lint the m2m.json.""" validate_config(m2m_json_path=path)