Announcement of planned deprecation of flag options (domains, hostname, route-path) on cf push on the v6 CLI

Abby Chau

Hi everyone,

The cf CLI team reached out to the Community back in December 2017 to gather feedback about domains and hostnames app manifest properties. Based on feedback, in cf CLI release v6.34.0, the team moved forward with deprecating domains and hostnames properties in the app manifest in favor of the routes attribute. 

At the time, the flag options to override the manifest properties were not deprecated. On `cf push` these include:
  • --hostname
  • --no-hostname
  • -d for domain
  • --route-path
This email announces planned deprecation of the above flag options on cf push on the v6 CLI, and to gather community feedback on our current approach on the v7 beta CLI for overriding routes using cf push. 

We welcome feedback in comments in this document, which also details:
  • the upcoming changes (the flags above will continue to work on v6 CLI but a deprecation notice will appear in the output)
  • a section calling for feedback for the v7 beta CLI (where we have removed these flag options).
Thanks and we hope to hear from you.


Abby Chau
cf CLI, Product Manager