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

    Function analyticsDisabled

    • Returns true if reporting analytics is enabled.

      Parameters

      • env: ProcessEnv = process.env

        The environment variables from the environment of the current process.

      Returns boolean

      True unless SHOPIFY_CLI_NO_ANALYTICS is truthy or debug mode is enabled.