github.com/argoproj/argo-cd/v3@v3.2.1/docs/user-guide/commands/argocd_app_get.md (about) 1 # `argocd app get` Command Reference 2 3 ## argocd app get 4 5 Get application details 6 7 ``` 8 argocd app get APPNAME [flags] 9 ``` 10 11 ### Examples 12 13 ``` 14 # Get basic details about the application "my-app" in wide format 15 argocd app get my-app -o wide 16 17 # Get detailed information about the application "my-app" in YAML format 18 argocd app get my-app -o yaml 19 20 # Get details of the application "my-app" in JSON format 21 argocd get my-app -o json 22 23 # Get application details and include information about the current operation 24 argocd app get my-app --show-operation 25 26 # Show application parameters and overrides 27 argocd app get my-app --show-params 28 29 # Show application parameters and overrides for a source at position 1 under spec.sources of app my-app 30 argocd app get my-app --show-params --source-position 1 31 32 # Show application parameters and overrides for a source named "test" 33 argocd app get my-app --show-params --source-name test 34 35 # Refresh application data when retrieving 36 argocd app get my-app --refresh 37 38 # Perform a hard refresh, including refreshing application data and target manifests cache 39 argocd app get my-app --hard-refresh 40 41 # Get application details and display them in a tree format 42 argocd app get my-app --output tree 43 44 # Get application details and display them in a detailed tree format 45 argocd app get my-app --output tree=detailed 46 ``` 47 48 ### Options 49 50 ``` 51 -N, --app-namespace string Only get application from namespace 52 --hard-refresh Refresh application data as well as target manifests cache 53 -h, --help help for get 54 -o, --output string Output format. One of: json|yaml|wide|tree (default "wide") 55 --refresh Refresh application data when retrieving 56 --show-operation Show application operation 57 --show-params Show application parameters and overrides 58 --source-name string Name of the source from the list of sources of the app. 59 --source-position int Position of the source from the list of sources of the app. Counting starts at 1. (default -1) 60 --timeout uint Time out after this many seconds 61 ``` 62 63 ### Options inherited from parent commands 64 65 ``` 66 --argocd-context string The name of the Argo-CD server context to use 67 --auth-token string Authentication token; set this or the ARGOCD_AUTH_TOKEN environment variable 68 --client-crt string Client certificate file 69 --client-crt-key string Client certificate key file 70 --config string Path to Argo CD config (default "/home/user/.config/argocd/config") 71 --controller-name string Name of the Argo CD Application controller; set this or the ARGOCD_APPLICATION_CONTROLLER_NAME environment variable when the controller's name label differs from the default, for example when installing via the Helm chart (default "argocd-application-controller") 72 --core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server 73 --grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. 74 --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. 75 -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) 76 --http-retry-max int Maximum number of retries to establish http connection to Argo CD server 77 --insecure Skip server certificate and domain verification 78 --kube-context string Directs the command to the given kube-context 79 --logformat string Set the logging format. One of: json|text (default "json") 80 --loglevel string Set the logging level. One of: debug|info|warn|error (default "info") 81 --plaintext Disable TLS 82 --port-forward Connect to a random argocd-server port using port forwarding 83 --port-forward-namespace string Namespace name which should be used for port forwarding 84 --prompts-enabled Force optional interactive prompts to be enabled or disabled, overriding local configuration. If not specified, the local configuration value will be used, which is false by default. 85 --redis-compress string Enable this if the application controller is configured with redis compression enabled. (possible values: gzip, none) (default "gzip") 86 --redis-haproxy-name string Name of the Redis HA Proxy; set this or the ARGOCD_REDIS_HAPROXY_NAME environment variable when the HA Proxy's name label differs from the default, for example when installing via the Helm chart (default "argocd-redis-ha-haproxy") 87 --redis-name string Name of the Redis deployment; set this or the ARGOCD_REDIS_NAME environment variable when the Redis's name label differs from the default, for example when installing via the Helm chart (default "argocd-redis") 88 --repo-server-name string Name of the Argo CD Repo server; set this or the ARGOCD_REPO_SERVER_NAME environment variable when the server's name label differs from the default, for example when installing via the Helm chart (default "argocd-repo-server") 89 --server string Argo CD server address 90 --server-crt string Server certificate file 91 --server-name string Name of the Argo CD API server; set this or the ARGOCD_SERVER_NAME environment variable when the server's name label differs from the default, for example when installing via the Helm chart (default "argocd-server") 92 ``` 93 94 ### SEE ALSO 95 96 * [argocd app](argocd_app.md) - Manage applications 97