Add progress bool flag for phase run command
* Phase executors accept run options which have progress boolean field. `airshipctl phase run` must be able to set this options from the command line flag. Change-Id: I0645680ae68bf8690800aac5f3837ca78909ade0
This commit is contained in:
parent
5dbacb0a20
commit
be3ce0917a
@ -65,5 +65,10 @@ func NewRunCommand(cfgFactory config.Factory) *cobra.Command {
|
||||
"kubeconfig",
|
||||
"",
|
||||
"Path to kubeconfig associated with site being managed")
|
||||
flags.BoolVar(
|
||||
&p.Options.Progress,
|
||||
"progress",
|
||||
false,
|
||||
"show progress")
|
||||
return runCmd
|
||||
}
|
||||
|
@ -13,4 +13,5 @@ Flags:
|
||||
--dry-run simulate phase execution
|
||||
-h, --help help for run
|
||||
--kubeconfig string Path to kubeconfig associated with site being managed
|
||||
--progress show progress
|
||||
--wait-timeout duration wait timeout
|
||||
|
Loading…
x
Reference in New Issue
Block a user