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

    Function isCloudEnvironment

    • Checks if the CLI is run from a cloud environment.

      Parameters

      • env: ProcessEnv = process.env

        Environment variables used when the cli is launched.

      Returns boolean

      True in case the CLI is run from a cloud environment.