Parameters
- env: ProcessEnv = process.env
Returns {
editor: boolean;
platform: "spin" | "codespaces" | "gitpod" | "cloudShell" | "localhost";
}
Cloud platform information.
editor: boolean
platform: "spin" | "codespaces" | "gitpod" | "cloudShell" | "localhost"
Returns the cloud environment platform name and if the platform support online IDE in case the CLI is run from one of them. Platform name 'localhost' is returned otherwise.