Call v7 commands in `plugin.CliConnection`
@gururajsh ya está trabajando en esto.
Desde el 20/9/2024.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Go
- Estrellas
- 1.9k
- Forks
- 990
- Merge medio
- 1 d 7 h
- PR fusionados (30 d)
- 8
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cloudfoundry/cli
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
cloudfoundry/cli#3866 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
cloudfoundry/cli#3863 · 2 comentarios ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
cloudfoundry/cli#3851 · 1 comentario · 1 reacción ·
-
Add zsh shell completion Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 62/100
cloudfoundry/cli#3794 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
cloudfoundry/cli#3787 · 1 comentario ·
Todos los issues de cloudfoundry/cli
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
bug group: validation priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
codecheckers/chekhov#51 ·
-
Creating worktree from an existing remote branch with a slash in it, has unexpected behaviour Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100