NewCmd creates the "instance upgrade" subcommand
()
| 29 | |
| 30 | // NewCmd creates the "instance upgrade" subcommand |
| 31 | func NewCmd() *cobra.Command { |
| 32 | cmd := &cobra.Command{ |
| 33 | Use: "upgrade", |
| 34 | } |
| 35 | |
| 36 | cmd.AddCommand(prepare.NewCmd()) |
| 37 | cmd.AddCommand(execute.NewCmd()) |
| 38 | |
| 39 | return cmd |
| 40 | } |