File size: 490 Bytes
5957fae 51d0467 5957fae 51d0467 5957fae | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Unity Agent — entry point.
Run the interactive colored CLI:
python run.py
python run.py --help
python run.py tools
python run.py presets
python run.py generate open_world_city
"""
import os
import sys
# Make sure the package directory is importable regardless of CWD.
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from unity_agent.cli import main
if __name__ == "__main__":
sys.exit(main())
|