Files

19 lines
361 B
Python

#!/usr/bin/env python3
import sys
from pathlib import Path
from app.app_runner import AppRunner
def main() -> None:
base_dir = Path(__file__).resolve().parent
runner = AppRunner(base_dir=base_dir, entry_script=Path(__file__))
if "--setup" in sys.argv:
runner.setup()
else:
runner.run()
if __name__ == "__main__":
main()