We are proud to announce the latest release of the Platform.sh CLI.
To install or upgrade, you can use Composer:
composer global require 'platformsh/cli:1.*'
New features in the latest release (version 1.7.1) include:
platform httpaccesscommand to control HTTP access for an environment.
platform buildcommand now saves archives (compressed copies) of each local build, which are re-used when possible. This saves build time, particularly if you are switching between branches locally. There is a
--no-archiveoption to skip this behavior.
platform environment:activate [environment]
platform backup [environment]
platform environment:deactivate [environment]
platform environment:delete [environment]
platform branch [name] [parent]
platform merge [environment]
platform environment:activate [env1] [env2] [env3] [...]
platform environment:deactivate [env1] [env2] [env3] [...]
platform environment:delete [env1] [env2] [env3] [...]
platform environment:deactivate --merged [base]
platform environment:delete --inactive
The Platform.sh CLI (command-line interface) is an easy and fast tool which helps you manage your Platform.sh projects from the command line. You can use it to administer projects and environments, and to help you build projects locally for development.
For more information (and to file issues) see the public GitHub repository.