Files
DeepTutor/scripts/export_frontend_contracts.py
2026-09-01 22:24:29 +08:00

15 lines
380 B
Python

#!/usr/bin/env python3
"""CLI wrapper for the backend-owned frontend contract exporter."""
from pathlib import Path
import sys
PROJECT_ROOT = Path(__file__).resolve().parents[1]
if str(PROJECT_ROOT) not in sys.path:
sys.path.insert(0, str(PROJECT_ROOT))
from deeptutor.api.contracts.export import main # noqa: E402
if __name__ == "__main__":
raise SystemExit(main())