#!python
"""Compatibility wrapper for the Python staging module."""

from __future__ import annotations

import sys

from daylily_ec.stage_samples import CommandError, main


if __name__ == "__main__":  # pragma: no cover - wrapper
    try:
        raise SystemExit(main())
    except CommandError as exc:
        print(f"Error: {exc}", file=sys.stderr)
        raise SystemExit(1)
