newGuestsCmd returns the `guests` parent command.
()
| 70 | |
| 71 | // newGuestsCmd returns the `guests` parent command. |
| 72 | func newGuestsCmd() *cobra.Command { |
| 73 | cmd := &cobra.Command{ |
| 74 | Use: "guests", |
| 75 | Short: "Manage and inspect Proxmox guests (VMs and containers)", |
| 76 | } |
| 77 | |
| 78 | cmd.AddCommand(newGuestsListCmd()) |
| 79 | cmd.AddCommand(newGuestsShowCmd()) |
| 80 | cmd.AddCommand(newGuestsStartCmd()) |
| 81 | cmd.AddCommand(newGuestsStopCmd()) |
| 82 | cmd.AddCommand(newGuestsShutdownCmd()) |
| 83 | cmd.AddCommand(newGuestsRestartCmd()) |
| 84 | cmd.AddCommand(newGuestsDeleteCmd()) |
| 85 | cmd.AddCommand(newGuestsExecCmd()) |
| 86 | cmd.AddCommand(newGuestsShellCmd()) |
| 87 | cmd.AddCommand(newGuestsCreateCmd()) |
| 88 | cmd.AddCommand(newGuestsMigrateCmd()) |
| 89 | |
| 90 | return cmd |
| 91 | } |
| 92 | |
| 93 | // ── guests list ────────────────────────────────────────────────────────────── |
| 94 |
no test coverage detected