From 467d8b76a8868babfbcd074cc919905877042852 Mon Sep 17 00:00:00 2001 From: Chris North Date: Sun, 22 Oct 2023 18:09:21 -0700 Subject: [PATCH 1/2] add --no-progress to wait command --- src/cmd/tools/wait.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/tools/wait.go b/src/cmd/tools/wait.go index 4453c3bf30..51598affde 100644 --- a/src/cmd/tools/wait.go +++ b/src/cmd/tools/wait.go @@ -53,4 +53,5 @@ func init() { toolsCmd.AddCommand(waitForCmd) waitForCmd.Flags().StringVar(&waitTimeout, "timeout", "5m", lang.CmdToolsWaitForFlagTimeout) waitForCmd.Flags().StringVarP(&waitNamespace, "namespace", "n", "", lang.CmdToolsWaitForFlagNamespace) + waitForCmd.Flags().BoolVar(&message.NoProgress, "no-progress", false, lang.RootCmdFlagNoProgress) } From 3ef47ca1995c6beceb45f5675e15c87cb0632290 Mon Sep 17 00:00:00 2001 From: Chris North Date: Sun, 22 Oct 2023 18:17:32 -0700 Subject: [PATCH 2/2] Update doc --- docs/2-the-zarf-cli/100-cli-commands/zarf_tools_wait-for.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/2-the-zarf-cli/100-cli-commands/zarf_tools_wait-for.md b/docs/2-the-zarf-cli/100-cli-commands/zarf_tools_wait-for.md index 717a0a9441..0adace0386 100644 --- a/docs/2-the-zarf-cli/100-cli-commands/zarf_tools_wait-for.md +++ b/docs/2-the-zarf-cli/100-cli-commands/zarf_tools_wait-for.md @@ -43,6 +43,7 @@ zarf tools wait-for { KIND | PROTOCOL } { NAME | SELECTOR | URI } { CONDITION | ``` -h, --help help for wait-for -n, --namespace string Specify the namespace of the resources to wait for. + --no-progress Disable fancy UI progress bars, spinners, logos, etc --timeout string Specify the timeout duration for the wait command. (default "5m") ```