Interview Prep/GitOps & Argo CD/Rapid-Fire Commands

How do you create an Application from the CLI with auto-sync?

BeginnerConceptRapid-Fire Commands
Answer
argocd app create web \
  --repo https://github.com/org/cfg.git --path apps/web/overlays/dev \
  --dest-server https://kubernetes.default.svc --dest-namespace web \
  --project team-a --sync-policy automated --auto-prune --self-heal \
  --sync-option CreateNamespace=true
All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Rapid-Fire Commands