support for "targets" subcommand
As I use a number of different CF environments during the course of my work, the cf targets command is very useful, so I can display all the current targets that I'm set up for.
This subcommand doesn't seem to be available for gcf.
Thanks, Patrick. I'll add it to our backlog. Probably won't make it in this week's iteration, but I'll get it in for the final release.
@pmuellr If you want to track the story's progress you can do so here: https://www.pivotaltracker.com/story/show/60510188
Thanks, CF Community Pair (@adamstegman & @mbhave)
Just noticing that there hasn't been a lot of discussion around this lately.
While the old Ruby cf did support this functionality, there doesn't seem to be much clamor in regards to implementing this feature.
To be honest, I personally would use this feature if it existed. Anyone who uses multiple cloud foundry deployments would benefit from this, obviously. Our understanding of CF users is that the majority use a single CF, whereas operators and developers tend to use multiple ones. It seems harmful to add features that only a tiny subset will actually use.
Going forward, we think this is a great candidate to be a plugin.
+1 highly needed here.
This probably doesn't address the issue entirely, but the plugin 'cf recorder' allows me to switch between different CF environments with a single command. It is simple to use
cf record env1
cf api ....
cf login ...
cf target ....
now just replay the command with cf replay env1, hope this can alleviate the pain a little :)
**https://github.com/simonleung8/cli-plugin-recorder
Nicely done @simonleung8. Love the idea of this cf recorder plugin.
You should FYI this to mailing list (if you have not done so already.) Cheers :beers:
The Targets plugin provides this functionality: https://github.com/guidowb/cf-targets-plugin