Skip to content

Commit

Permalink
added output flag
Browse files Browse the repository at this point in the history
Signed-off-by: schakrad <58915923+schakrad@users.noreply.github.com>
  • Loading branch information
schakrad committed Sep 25, 2023
1 parent 60c09b1 commit fd7874d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/argocd/commands/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1591,6 +1591,7 @@ func NewApplicationWaitCommand(clientOpts *argocdclient.ClientOptions) *cobra.Co
selector string
resources []string
watcher bool
output string
)
var command = &cobra.Command{
Use: "wait [APPNAME.. | -l selector]",
Expand Down Expand Up @@ -1653,6 +1654,7 @@ func NewApplicationWaitCommand(clientOpts *argocdclient.ClientOptions) *cobra.Co
command.Flags().BoolVar(&watch.operation, "operation", false, "Wait for pending operations")
command.Flags().UintVar(&timeout, "timeout", defaultCheckTimeoutSeconds, "Time out after this many seconds")
command.Flags().BoolVar(&watcher, "watcher", false, "watch provides the dynamic view of app")
command.Flags().StringVarP(&output, "output", "o", "wide", "Output format. One of: json|yaml|wide|tree|tree=detailed")

return command
}
Expand Down

0 comments on commit fd7874d

Please sign in to comment.