#!/usr/bin/env python
"""Entry point: python ms.py <command> [...]

Prefers the project virtualenv interpreter when invoked with a bare python.
"""

from __future__ import annotations

import os
import sys
from pathlib import Path

HERE = Path(__file__).resolve().parent
if str(HERE) not in sys.path:
    sys.path.insert(0, str(HERE))

from msagent.cli import main  # noqa: E402

if __name__ == "__main__":
    raise SystemExit(main())
