Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call v7 commands in plugin.CliConnection #2196

Open
radito3 opened this issue Aug 20, 2021 · 2 comments
Open

Call v7 commands in plugin.CliConnection #2196

radito3 opened this issue Aug 20, 2021 · 2 comments
Assignees

Comments

@radito3
Copy link

radito3 commented Aug 20, 2021

What's the user value of this feature request?
CF CLI plugin developers will have use of the v7 commands programmatically.

Who is the functionality for?
All CF CLI plugin developers.

How often will this functionality be used by the user?
Every user-developed plugin will use it.

Who else is affected by the change?
It will cause plugins depending on v6 specific options to commands like push to break when calling CliCommand(args...).
Otherwise, it shouldn't affect users.

Is your feature request related to a problem? Please describe.
During recent development of a CF CLI plugin, I ran into a problem when trying to use push with a manifest that had buildpacks in it. The error was that buildpacks wasn't supported in legacy push.

Describe the solution you'd like
I would like for the CliConnection to call the commands of the CF CLI I have installed (v7.2), rather than the legacy commands.

Describe alternatives you've considered
Currently, the alternative I am working with is calling cf7 push programmatically with exec.Command. I acknowledge this as a workaround, not a real solution. That's why I am opening this feature request.

Additional context
This is the first CF CLI feature request I've opened, so any feedback is welcome.

Note:
As of the GA of the v7 CLI, the v6 line is no longer under active development and will be updated only to patch CVEs or fix severe blocking defects with no workarounds.

@robertofalk
Copy link

up

@gururajsh gururajsh self-assigned this Sep 20, 2024
@gururajsh
Copy link
Member

Hello.. thank you for your submission. We are currently reviewing changes needed for plugin development. Will update here when there is a decision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants