We are proud to announce the latest release of the Platform.sh CLI. To install or upgrade, you can use Composer:Documentation Index
Fetch the complete documentation index at: https://developer.upsun.com/llms.txt
Use this file to discover all available pages before exploring further.
- A new
platform httpaccesscommand to control HTTP access for an environment. - The
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. - Many commands now take the environment as an argument, rather than an option, which saves typing:
platform environment:activate [environment]platform backup [environment]platform environment:deactivate [environment]platform environment:delete [environment]platform branch [name] [parent]platform merge [environment]
- The following commands now work with multiple environments:
platform environment:activate [env1] [env2] [env3] [...]platform environment:deactivate [env1] [env2] [env3] [...]platform environment:delete [env1] [env2] [env3] [...]
- You can now deactivate all merged branches with:
platform environment:deactivate --merged [base] - You can delete all inactive environments with:
platform environment:delete --inactive