• Overview
    Key features
    • Observability
    • Auto-scaling
    • Multiframework
    • Security
    Frameworks
    • Django
    • Next.js
    • Drupal
    • WordPress
    • Symfony
    • Magento
    • See all frameworks
    Languages
    • PHP
    • Python
    • Node.js
    • Ruby
    • Java
    • Go
  • Industries
    • Consumer Goods
    • Media/Entertainment
    • Higher Education
    • Government
    • Ecommerce
  • Pricing
  • Featured articles
    • Switching to Platform.sh can help IT/DevOps organizations drive 219% ROI
    • Organizations, the ultimate way to manage your users and projects
  • Support
  • Docs
  • Login
  • Request a demo
  • Free Trial
Meet Upsun. The new, self-service, fully managed PaaS, powered by Platform.sh.Try it now
Blog

CLI version 1.7 released

symfonyphpcli
20 January, 2015
Patrick Dawkins
Patrick Dawkins
Product Engineer

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:

  • A new  platform httpaccess  command to control HTTP access for an environment.
  • The  platform build  command 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-archive  option 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

About the Platform.sh CLI

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.

It is based on the Symfony Console Component, a flexible and widely used library for building PHP command-line applications. Naturally, it also relies on Git.

For more information (and to file issues) see the public GitHub repository.

Get the latest Platform.sh news and resources
Subscribe

Related Content

Running with FrankenPHP on Platform.sh

Running with FrankenPHP on Platform.sh

Company
AboutSecurity and complianceTrust CenterCareersPressContact us
Thank you for subscribing!
  •  
Field required
Leader Winter 2023
System StatusPrivacyTerms of ServiceImpressumWCAG ComplianceAcceptable Use PolicyManage your cookie preferencesReport a security issue
© 2024 Platform.sh. All rights reserved.
Supported by Horizon 2020's SME Instrument - European Commission 🇪🇺