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.
Parameters
env: ProcessEnv = process.env
Environment variables used when the cli is launched.
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.