import sys

from app.core.config import clear_saved_api_key


if "--reset-api-key" in sys.argv:
    clear_saved_api_key()
    sys.argv.remove("--reset-api-key")

from app.main import main


if __name__ == "__main__":
    raise SystemExit(main())
