mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 03:29:23 +08:00
15 lines
380 B
Python
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())
|