Skip to content

Commit 92ba909

Browse files
committed
feat: support no-color option on argo submit
Signed-off-by: Kazuma (Pakio) Arimura <[email protected]>
1 parent 3ae8b31 commit 92ba909

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/argo/commands/submit.go

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ func NewSubmitCommand() *cobra.Command {
9595
command.Flags().BoolVar(&cliSubmitOpts.Watch, "watch", false, "watch the workflow until it completes")
9696
command.Flags().BoolVar(&cliSubmitOpts.Log, "log", false, "log the workflow until it completes")
9797
command.Flags().BoolVar(&cliSubmitOpts.Strict, "strict", true, "perform strict workflow validation")
98+
command.Flags().BoolVar(&common.NoColor, "no-color", false, "Disable colorized output")
9899
command.Flags().Int32Var(&priority, "priority", 0, "workflow priority")
99100
command.Flags().StringVar(&from, "from", "", "Submit from an existing `kind/name` E.g., --from=cronwf/hello-world-cwf")
100101
command.Flags().StringVar(&cliSubmitOpts.GetArgs.Status, "status", "", "Filter by status (Pending, Running, Succeeded, Skipped, Failed, Error). Should only be used with --watch.")

0 commit comments

Comments
 (0)