mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-21 14:23:37 +08:00
24 lines
583 B
Python
Executable File
24 lines
583 B
Python
Executable File
#!/usr/bin/env python3.11
|
|
# Released under the MIT License. See LICENSE for details.
|
|
#
|
|
"""A tool for interacting with ballistica's cloud services.
|
|
This facilitates workflows such as creating asset-packages, etc.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
|
|
from batools.bacloud import App
|
|
from efro.error import CleanError
|
|
|
|
try:
|
|
App().run()
|
|
except KeyboardInterrupt:
|
|
# Let's do a clean fail on keyboard interrupt.
|
|
# Can make this optional if a backtrace is ever useful.
|
|
sys.exit(1)
|
|
except CleanError as clean_exc:
|
|
clean_exc.pretty_print()
|
|
sys.exit(1)
|