#!/usr/bin/env python3
"""Module execution entry point for Claude Monitor.

Allows running the package as a module: python -m pacman
"""

import sys
from typing import NoReturn

from .cli.main import main


def _main() -> NoReturn:
    """Entry point that properly handles exit codes and never returns."""
    exit_code = main()
    sys.exit(exit_code)


if __name__ == "__main__":
    _main()
