|
|
|
@ -60,8 +60,8 @@ func NewCmdStartCluster() *cobra.Command { |
|
|
|
|
|
|
|
|
|
// add flags
|
|
|
|
|
cmd.Flags().BoolP("all", "a", false, "Start all existing clusters") |
|
|
|
|
cmd.Flags().BoolVar(&startClusterOpts.WaitForMaster, "wait", false, "Wait for the master(s) to be ready before returning.") |
|
|
|
|
cmd.Flags().DurationVar(&startClusterOpts.Timeout, "timeout", 0*time.Second, "Rollback changes if cluster couldn't be created in specified duration.") |
|
|
|
|
cmd.Flags().BoolVar(&startClusterOpts.WaitForMaster, "wait", false, "Wait for the master(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.") |
|
|
|
|
|
|
|
|
|
// add subcommands
|
|
|
|
|
|
|
|
|
|