Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 1. Configuring the GitOps CLI
You can configure the GitOps argocd CLI to enable tab completion.
1.1. Enabling tab completion Copier lienLien copié sur presse-papiers!
After you install the GitOps argocd CLI, you can enable tab completion to automatically complete argocd commands or suggest options when you press Tab.
Tab completions only exist for the Bash shell.
Prerequisites
-
You must have the GitOps
argocdCLI tool installed. -
You must have
bash-completioninstalled on your local system.
Procedure
Save the Bash completion code to a file:
$ argocd completion bash > argocd_bash_completionCopy the file to
/etc/bash_completion.d/:$ sudo cp argocd_bash_completion /etc/bash_completion.d/Alternatively, you can save the file to a local directory and source it from your
.bash_profilefile instead.Tab completion is enabled when you open a new terminal.