18 lines
400 B
Python
Executable File
18 lines
400 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""gaokao-order-manager — T4.3 订单管理 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.orders.cli import main # noqa: E402
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|