Initial set of tools for editing/running projects

This commit is contained in:
2025-01-18 21:25:27 -06:00
commit e239215895
7 changed files with 126 additions and 0 deletions

13
goat/__init__.py Normal file
View File

@@ -0,0 +1,13 @@
import sys
from . import godot, gzdoom
def main():
project = godot.find_project(".") or gzdoom.find_project(".")
if not project:
raise Exception("could not find valid project")
command = sys.argv[1]
if command == "run":
project.run()
elif command == "edit":
project.edit()