@shopify/cli-kit
    Preparing search index...

    Function autoUpgradeIfNeeded

    • Auto-upgrades the CLI after a command completes, if a newer version is available. The entire flow is rate-limited to once per day unless forced via SHOPIFY_CLI_FORCE_AUTO_UPGRADE.

      Returns Promise<void>

      Resolves when the upgrade attempt (or fallback warning) is complete.