Advertisement
Beginner ArgoCD, Applications

How do you view and manage Applications via the ArgoCD CLI?

Short answer

The argocd CLI manages apps: `argocd app list`, `argocd app get `, `argocd app sync `, `argocd app diff `, `argocd app history`, and `argocd app rollback`. It's used for automation and troubleshooting alongside the web UI and the declarative Application CRs.

Save ArgoCD mock interview
Advertisement
AModel answer
The argocd CLI manages apps: `argocd app list`, `argocd app get <name>`, `argocd app sync <name>`, `argocd app diff <name>`, `argocd app history`, and `argocd app rollback`. It's used for automation and troubleshooting alongside the web UI and the declarative Application CRs.
Example

argocd app get guestbook argocd app sync guestbook argocd app diff guestbook

Real-world example
An engineer runs `argocd app diff` in CI to preview changes before approving a production sync.
Likely follow-ups
  • What does argocd app diff show? | How do you sync from the CLI?
Related topics