이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 1. Configuring the GitOps CLI
You can configure the GitOps argocd CLI to enable tab completion.
1.1. Enabling tab completion 링크 복사링크가 클립보드에 복사되었습니다!
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.