Files

24 lines
518 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/env python3
"""CLI entrypoint for CardputerZero Mac photo sync management."""
from __future__ import annotations
import os
import sys
from pathlib import Path
def _ensure_package_on_path() -> None:
package_root = str(Path(os.path.realpath(__file__)).resolve().parents[1])
if package_root not in sys.path:
sys.path.insert(0, package_root)
_ensure_package_on_path()
from cp0_mac_receiver.cli import run_cli # noqa: E402
if __name__ == "__main__":
sys.exit(run_cli(sys.argv[1:]))