github.com/argoproj/argo-cd@v1.8.7/docs/user-guide/commands/argocd_completion.md (about)

     1  ## argocd completion
     2  
     3  output shell completion code for the specified shell (bash or zsh)
     4  
     5  ### Synopsis
     6  
     7  Write bash or zsh shell completion code to standard output.
     8  
     9  For bash, ensure you have bash completions installed and enabled.
    10  To access completions in your current shell, run
    11  $ source <(argocd completion bash)
    12  Alternatively, write it to a file and source in .bash_profile
    13  
    14  For zsh, output to a file in a directory referenced by the $fpath shell
    15  variable.
    16  
    17  
    18  ```
    19  argocd completion SHELL [flags]
    20  ```
    21  
    22  ### Options
    23  
    24  ```
    25    -h, --help   help for completion
    26  ```
    27  
    28  ### Options inherited from parent commands
    29  
    30  ```
    31        --auth-token string               Authentication token
    32        --client-crt string               Client certificate file
    33        --client-crt-key string           Client certificate key file
    34        --config string                   Path to Argo CD config (default "/home/user/.argocd/config")
    35        --grpc-web                        Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
    36        --grpc-web-root-path string       Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
    37    -H, --header strings                  Sets additional header to all requests made by Argo CD CLI. (Can be repeated multiple times to add multiple headers, also supports comma separated headers)
    38        --insecure                        Skip server certificate and domain verification
    39        --logformat string                Set the logging format. One of: text|json (default "text")
    40        --loglevel string                 Set the logging level. One of: debug|info|warn|error (default "info")
    41        --plaintext                       Disable TLS
    42        --port-forward                    Connect to a random argocd-server port using port forwarding
    43        --port-forward-namespace string   Namespace name which should be used for port forwarding
    44        --server string                   Argo CD server address
    45        --server-crt string               Server certificate file
    46  ```
    47  
    48  ### SEE ALSO
    49  
    50  * [argocd](argocd.md)	 - argocd controls a Argo CD server
    51