()
| 32 | } |
| 33 | |
| 34 | func init() { |
| 35 | modifyCmd.Flags().String("gpu", "", "GPU type (a6000, a100, h100)") |
| 36 | modifyCmd.Flags().Int("num-gpus", 0, "Number of GPUs: 1, 2, 4, or 8") |
| 37 | modifyCmd.Flags().Int("vcpus", 0, "CPU cores: options vary by GPU type and count") |
| 38 | modifyCmd.Flags().Int("disk", 0, "Disk size in GB (cannot shrink, max depends on config)") |
| 39 | modifyCmd.Flags().Int("disk-size-gb", 0, "Disk size in GB (cannot shrink, max depends on config)") |
| 40 | _ = modifyCmd.Flags().MarkHidden("disk-size-gb") |
| 41 | |
| 42 | modifyCmd.SetHelpFunc(wrapHelp(helpmenus.RenderModifyHelp)) |
| 43 | |
| 44 | rootCmd.AddCommand(modifyCmd) |
| 45 | } |
| 46 | |
| 47 | func runModify(cmd *cobra.Command, args []string) error { |
| 48 | client, err := getAuthenticatedClient() |
nothing calls this directly
no test coverage detected