Merge pull request #30 from mweinelt/fix-entrypoint

Implement entrypoint run function
This commit is contained in:
Michael Hansen
2023-12-28 09:57:31 -06:00
committed by GitHub
+5 -1
View File
@@ -439,8 +439,12 @@ def _split(command: Optional[str]) -> Optional[List[str]]:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
if __name__ == "__main__": def run():
try: try:
asyncio.run(main()) asyncio.run(main())
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass
if __name__ == "__main__":
run()