You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The argocd app list command supports adding a --project filter, in addition to the selector argument. This will allow users of the CLI to avoid additional looping by having to first issue an argocd app list (with project filter) to get a list of unique Applications names, then separately call argocd app sync.
Motivation
This will make the CLI operation more consistent and allow a similar set of arguments to be used for both sub-command options.
Proposal
It looks like the struct on the L1339 of the link below can just have the Projects []string populated. To keep it consistent, it would continue to support multiple just like the list sub-command
Ref to Sync app name generation (struct is on L1339):
Summary
The
argocd app list
command supports adding a--project
filter, in addition to the selector argument. This will allow users of the CLI to avoid additional looping by having to first issue anargocd app list
(with project filter) to get a list of unique Applications names, then separately call argocd app sync.Motivation
This will make the CLI operation more consistent and allow a similar set of arguments to be used for both sub-command options.
Proposal
It looks like the struct on the L1339 of the link below can just have the Projects []string populated. To keep it consistent, it would continue to support multiple just like the list sub-command
Ref to Sync app name generation (struct is on L1339):
argo-cd/cmd/argocd/commands/app.go
Lines 1338 to 1339 in 85c114d
Ref to App list:
argo-cd/cmd/argocd/commands/app.go
Line 1116 in 85c114d
The text was updated successfully, but these errors were encountered: