cli icon indicating copy to clipboard operation
cli copied to clipboard

support for "targets" subcommand

Open pmuellr opened this issue 13 years ago • 7 comments

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.

pmuellr avatar Nov 11 '13 13:11 pmuellr

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.

scottruitt avatar Nov 11 '13 14:11 scottruitt

@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)

adamstegman avatar May 06 '14 22:05 adamstegman

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.

XenoPhex avatar Jul 02 '14 21:07 XenoPhex

+1 highly needed here.

jhiemer avatar Apr 07 '15 20:04 jhiemer

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

simonleung8 avatar Apr 16 '15 19:04 simonleung8

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:

maximilien avatar Apr 16 '15 22:04 maximilien

The Targets plugin provides this functionality: https://github.com/guidowb/cf-targets-plugin

camelpunch avatar Sep 14 '15 16:09 camelpunch