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

     1  ## argocd app diff
     2  
     3  Perform a diff against the target and live state.
     4  
     5  ### Synopsis
     6  
     7  Perform a diff against the target and live state.
     8  Uses 'diff' to render the difference. KUBECTL_EXTERNAL_DIFF environment variable can be used to select your own diff tool.
     9  Returns the following exit codes: 2 on general errors, 1 when a diff is found, and 0 when no diff is found
    10  
    11  ```
    12  argocd app diff APPNAME [flags]
    13  ```
    14  
    15  ### Options
    16  
    17  ```
    18        --hard-refresh             Refresh application data as well as target manifests cache
    19    -h, --help                     help for diff
    20        --local string             Compare live app to a local manifests
    21        --local-repo-root string   Path to the repository root. Used together with --local allows setting the repository root (default "/")
    22        --refresh                  Refresh application data when retrieving
    23        --revision string          Compare live app to a particular revision
    24  ```
    25  
    26  ### Options inherited from parent commands
    27  
    28  ```
    29        --auth-token string               Authentication token
    30        --client-crt string               Client certificate file
    31        --client-crt-key string           Client certificate key file
    32        --config string                   Path to Argo CD config (default "/home/user/.argocd/config")
    33        --grpc-web                        Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
    34        --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.
    35    -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)
    36        --insecure                        Skip server certificate and domain verification
    37        --logformat string                Set the logging format. One of: text|json (default "text")
    38        --loglevel string                 Set the logging level. One of: debug|info|warn|error (default "info")
    39        --plaintext                       Disable TLS
    40        --port-forward                    Connect to a random argocd-server port using port forwarding
    41        --port-forward-namespace string   Namespace name which should be used for port forwarding
    42        --server string                   Argo CD server address
    43        --server-crt string               Server certificate file
    44  ```
    45  
    46  ### SEE ALSO
    47  
    48  * [argocd app](argocd_app.md)	 - Manage applications
    49