cloudfoundry/cli — pull request #112 by knolleary (2014-03-13 10:05:58+00:00)
Title: Add delete-orphaned-routes command

As a developer, I want to be able to easily tidy up any routes that have been created in my org/space that are no longer associated with any apps. Particularly as there is a limit on how many I can create, I want to be able to quickly remove the old ones.

This PR adds a new option to do just that:

cf delete-orphaned-routes [-f]

It queries your routes and then deletes any that have no apps associated.

This is based on a story original raised by @christo4ferris