"""Entry point: python -m bolt_pet [--doctor [--deep]]""" import sys if __name__ == "__main__": if "--doctor" in sys.argv: # Imported inside the branch, not at module scope: the doctor exists to # diagnose installs where importing the UI would itself blow up. from .doctor import main as doctor sys.exit(doctor(sys.argv[1:])) from .ui.app import run sys.exit(run())