github.com/Racer159/helm-experiment@v0.0.0-20230822001441-1eb31183f614/src/testdata/helmhome/helm/plugins/args/plugin.complete (about) 1 #!/usr/bin/env sh 2 3 echo "plugin.complete was called" 4 echo "Namespace: ${HELM_NAMESPACE:-NO_NS}" 5 echo "Num args received: ${#}" 6 echo "Args received: ${@}" 7 8 # Final printout is the optional completion directive of the form :<directive> 9 if [ "$HELM_NAMESPACE" = "default" ]; then 10 echo ":4" 11 else 12 echo ":2" 13 fi