mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
14 lines
347 B
Python
14 lines
347 B
Python
# -*- coding: utf-8 -*-
|
|
"""Main entry point for Pype command."""
|
|
from . import cli
|
|
import sys
|
|
import traceback
|
|
|
|
if __name__ == '__main__':
|
|
try:
|
|
cli.main(obj={}, prog_name="pype")
|
|
except Exception:
|
|
exc_info = sys.exc_info()
|
|
print("!!! Pype crashed:")
|
|
traceback.print_exception(*exc_info)
|
|
sys.exit(1)
|