argo-cd/cmd/argocd/commands/testdata/argocd-foo
Nitish Kumar 6cf29619ae
feat(cli): Add Plugin Support to the Argo CD CLI (#20074)
Signed-off-by: nitishfy <justnitish06@gmail.com>
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
2025-05-05 16:12:33 -07:00

15 lines
184 B
Bash
Executable file

#!/bin/bash
if [[ "$1" == "version" ]]
then
echo "1.0.0"
exit 0
fi
if [[ "$1" == "config" ]]
then
echo "$KUBECONFIG"
exit 0
fi
echo "I am a plugin named argocd-foo"