forked from chiki2bum2/SniperGold_ML
17 lines
453 B
Python
17 lines
453 B
Python
#!/usr/bin/env python3
| |||
"""sniper-data headless CLI launcher (spec 14).
| |||
| |||
Run as: python sniper-data.py <command> [args]
| |||
Windows: sniper-data.cmd <command> [args]
| |||
Pins PYTHONHASHSEED=0 (spec 17.3/26) before importing the engine.
| |||
"""
| |||
import os
| |||
import sys
| |||
| |||
os.environ.setdefault("PYTHONHASHSEED", "0")
| |||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
| |||
| |||
from engine.cli import main # noqa: E402
| |||
| |||
if __name__ == "__main__":
| |||
sys.exit(main())
|