gansheer opened a new pull request, #3902:
URL: https://github.com/apache/camel-k/pull/3902

   Fixes #3628
   
   ## Motivation
   
   Adding some completion on CLI basic commands to improve its usability 
through bash completion.
   
   ## Description
   
   The completion uses `kubectl` commands to retrieve the results.
   
   * `kamel get` / `kamel delete` autocomplete on integrations
   * `kamel get kit` autocomplete on all kits
   * `kamel delete kit` still autocomplete on non-platform kits
   * `kamel kamelet delete` autocomplete on non-readonly and non-bundled 
kamelets (this is the command behavior)
   * `kamel describe kamelet` autocomplete on all kamelets
   
   Pre-existing limit : the completion never use the value of the namespace 
flag even if it is provided, it always use the kubectl config context 
namespace. For `kamel -n usernamespace get <TAB>`, completion runs  `kamel get 
`. None of the completion use the namespace flag.
   
   
   **Release Note**
   ```release-note
   feat(cli): Enable CLI completion for integration , kit, kamelet names
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to