18 lines
399 B
Python
Executable File
18 lines
399 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""gaokao-data-trace — T3.4 数据溯源 CLI 入口。"""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
PROJECT_ROOT = Path(__file__).resolve().parent.parent
|
|
if str(PROJECT_ROOT) not in sys.path:
|
|
sys.path.insert(0, str(PROJECT_ROOT))
|
|
|
|
from data.crowd_db.cli import main # noqa: E402
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|