Merge "Add progress bool flag for phase run command"

This commit is contained in:
Zuul 2021-01-20 17:30:22 +00:00 committed by Gerrit Code Review
commit cfa2bc0ab6
2 changed files with 6 additions and 0 deletions
cmd/phase
run.go
testdata/TestRunGoldenOutput

@ -65,5 +65,10 @@ func NewRunCommand(cfgFactory config.Factory) *cobra.Command {
"kubeconfig", "kubeconfig",
"", "",
"Path to kubeconfig associated with site being managed") "Path to kubeconfig associated with site being managed")
flags.BoolVar(
&p.Options.Progress,
"progress",
false,
"show progress")
return runCmd return runCmd
} }

@ -13,4 +13,5 @@ Flags:
--dry-run simulate phase execution --dry-run simulate phase execution
-h, --help help for run -h, --help help for run
--kubeconfig string Path to kubeconfig associated with site being managed --kubeconfig string Path to kubeconfig associated with site being managed
--progress show progress
--wait-timeout duration wait timeout --wait-timeout duration wait timeout