You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/09/02 05:38:51 UTC

[camel-k] branch master updated: Add describe command completion (#1683)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/master by this push:
     new 67963a6  Add describe command completion (#1683)
67963a6 is described below

commit 67963a613dbf3f848dabe44422a07c90fae8b3e1
Author: John Poth <po...@gmail.com>
AuthorDate: Wed Sep 2 07:38:46 2020 +0200

    Add describe command completion (#1683)
---
 pkg/cmd/completion_bash.go | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/pkg/cmd/completion_bash.go b/pkg/cmd/completion_bash.go
index 56afdbc..929ab08 100644
--- a/pkg/cmd/completion_bash.go
+++ b/pkg/cmd/completion_bash.go
@@ -153,6 +153,14 @@ __kamel_kubectl_get_known_integrationkits() {
 
 __custom_func() {
     case ${last_command} in
+        kamel_describe_integration)
+            __kamel_kubectl_get_integrations
+            return
+            ;;
+        kamel_describe_kit)
+            __kamel_kubectl_get_integrationkits
+            return
+            ;;
         kamel_delete)
             __kamel_kubectl_get_integrations
             return