3.3.4. completion
Write bash or zsh shell completion code to standard output.
Command syntax
argocd completion SHELL [flags]
For bash, ensure you have Bash completions installed and enabled. Alternatively, write it to a file and source it in your .bash_profile.
Example: Access completion in your current shell:
# source <(argocd completion bash)
For zsh, ensure you have Bash completions installed and enabled.
Example: Add to your ~/.zshrc file and access completion in your current shell:
source <(argocd completion zsh)
compdef _argocd argocd