-
Notifications
You must be signed in to change notification settings - Fork 347
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
Enable CLI completion for integration, kit, kamelet names #3628
Comments
Do you think is this okey for "good first issue" label? |
This issue has been automatically marked as stale due to 90 days of inactivity. |
The camel-k/pkg/cmd/completion_bash.go Lines 160 to 170 in 322e43c
@lburgazzoli @astefanutti do you have any information ? |
* kamel get / kamel delete autocompletes on integrations * kamel get kit autocompletes on all kits * kamel delete kit autocompletes on non-platform kits * kamel kamelet delete autocompletes on non-readonly and non-bundled kamelets Closes apache#3628
What is expected on then What I understand from "Kubernetes resources" looks like a lot of possible kubernetes objects (more than we could predict) to have an autocomplete on it but I might be wrong. |
The |
Yeah, as @gansheer outlined it doesn't seem to make much sense to provide auto completion for |
* kamel get / kamel delete autocompletes on integrations * kamel get kit autocompletes on all kits * kamel delete kit autocompletes on non-platform kits * kamel kamelet delete autocompletes on non-readonly and non-bundled kamelets * kamel describe kamelet autocompletes on all kamelets Closes apache#3628
I think the general idea was that kits of type |
* kamel get / kamel delete autocompletes on integrations * kamel get kit autocompletes on all kits * kamel delete kit autocompletes on non-platform kits * kamel kamelet delete autocompletes on non-readonly and non-bundled kamelets * kamel describe kamelet autocompletes on all kamelets Closes apache#3628
I get the idea, but since the command allows the deletion platform kits without any specific flag I wonder if it is a good idea to have a completion that does not retrieve the same results than the allowed values for the command. I fear it might just confuse the user. I am really tempted to remove the platform exclusion filter but am unsure about the end user real life use case. |
Hi,
Actually, no, you cannot delete platform kits with |
Hi,
You are absolutely right, I just realized I used the Thank you 👍 |
* kamel get / kamel delete autocompletes on integrations * kamel get kit autocompletes on all kits * kamel delete kit autocompletes on non-platform kits * kamel kamelet delete autocompletes on non-readonly and non-bundled kamelets * kamel describe kamelet autocompletes on all kamelets Closes #3628
Currently there's no completion after for example:
Ideally they should show the integration/kit/kamelet names already deployed on the cluster.
The text was updated successfully, but these errors were encountered: