|
|
@ -62,7 +62,7 @@ func NewCmdClusterStart() *cobra.Command { |
|
|
|
|
|
|
|
|
|
|
|
// add flags
|
|
|
|
// add flags
|
|
|
|
cmd.Flags().BoolP("all", "a", false, "Start all existing clusters") |
|
|
|
cmd.Flags().BoolP("all", "a", false, "Start all existing clusters") |
|
|
|
cmd.Flags().BoolVar(&startClusterOpts.WaitForServer, "wait", false, "Wait for the server(s) (and loadbalancer) to be ready before returning.") |
|
|
|
cmd.Flags().BoolVar(&startClusterOpts.WaitForServer, "wait", true, "Wait for the server(s) (and loadbalancer) to be ready before returning.") |
|
|
|
cmd.Flags().DurationVar(&startClusterOpts.Timeout, "timeout", 0*time.Second, "Maximum waiting time for '--wait' before canceling/returning.") |
|
|
|
cmd.Flags().DurationVar(&startClusterOpts.Timeout, "timeout", 0*time.Second, "Maximum waiting time for '--wait' before canceling/returning.") |
|
|
|
|
|
|
|
|
|
|
|
// add subcommands
|
|
|
|
// add subcommands
|
|
|
|