| #!/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()) | |