Files
gaokao-volunteer-system/scripts/gaokao-cli

16 lines
335 B
Plaintext
Raw Normal View History

#!/usr/bin/env python3
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.rules.cli import main # noqa: E402
if __name__ == "__main__":
raise SystemExit(main())