|
|
@ -65,6 +65,14 @@ __helm_list_releases()
|
|
|
|
COMPREPLY=( $( compgen -W "${out[*]}" -- "$cur" ) )
|
|
|
|
COMPREPLY=( $( compgen -W "${out[*]}" -- "$cur" ) )
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
__helm_list_repos()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
__helm_debug "${FUNCNAME[0]}: c is $c words[c] is ${words[c]}"
|
|
|
|
|
|
|
|
local out
|
|
|
|
|
|
|
|
if out=$(helm repo list | tail +2 | cut -f1 2>/dev/null); then
|
|
|
|
|
|
|
|
COMPREPLY=( $( compgen -W "${out[*]}" -- "$cur" ) )
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
}
|
|
|
|
__helm_custom_func()
|
|
|
|
__helm_custom_func()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
__helm_debug "${FUNCNAME[0]}: last_command is $last_command"
|
|
|
|
__helm_debug "${FUNCNAME[0]}: last_command is $last_command"
|
|
|
@ -74,6 +82,9 @@ __helm_custom_func()
|
|
|
|
__helm_list_releases
|
|
|
|
__helm_list_releases
|
|
|
|
return
|
|
|
|
return
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
helm_repo_remove)
|
|
|
|
|
|
|
|
__helm_list_repos
|
|
|
|
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
*)
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|