#!/usr/bin/env python3
"""Runnable shim — no install required.

Adds ../src to sys.path then invokes monocoat.cli.main(), so a
`ln -s <repo>/bin/monocoat ~/.local/bin/monocoat` symlink works without
pip install --user / pipx / PEP 668 dances. For a proper install, see
pyproject.toml's [project.scripts] (`pipx install .` from the clone;
monocoat is not on PyPI yet).
"""

from __future__ import annotations

import sys
from pathlib import Path

sys.path.insert(0, str(Path(__file__).resolve().parent.parent / "src"))

from monocoat.cli import main  # noqa: E402

if __name__ == "__main__":
    main()
