Add completion for helm delete

Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
pull/5562/head
Marc Khouzam 7 years ago
parent a7d6820d53
commit 288fb869a2

@ -41,7 +41,7 @@ import (
const ( const (
bashCompletionFunc = ` bashCompletionFunc = `
__helm_status_list() __helm_list_releases()
{ {
local out local out
if out=$(helm list -q 2>/dev/null); then if out=$(helm list -q 2>/dev/null); then
@ -52,8 +52,8 @@ __helm_status_list()
__helm_custom_func() __helm_custom_func()
{ {
case ${last_command} in case ${last_command} in
helm_status) helm_status | helm_delete)
__helm_status_list __helm_list_releases
return return
;; ;;
*) *)

Loading…
Cancel
Save