The blue-green deployment docs mention cf push -n where the --hostname, -n option is removed with the CF CLI V7 as documented in the Upgrading to cf CLI v7. The upgrade guide mentions [Removed flag]: --hostname, -n. You can use the routes property in the manifest instead.