MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / newGuestsCmd

Function newGuestsCmd

internal/cli/guests.go:72–91  ·  view source on GitHub ↗

newGuestsCmd returns the `guests` parent command.

()

Source from the content-addressed store, hash-verified

70
71// newGuestsCmd returns the `guests` parent command.
72func 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

Callers 1

initFunction · 0.85

Calls 11

newGuestsListCmdFunction · 0.85
newGuestsShowCmdFunction · 0.85
newGuestsStartCmdFunction · 0.85
newGuestsStopCmdFunction · 0.85
newGuestsShutdownCmdFunction · 0.85
newGuestsRestartCmdFunction · 0.85
newGuestsDeleteCmdFunction · 0.85
newGuestsExecCmdFunction · 0.85
newGuestsShellCmdFunction · 0.85
newGuestsCreateCmdFunction · 0.85
newGuestsMigrateCmdFunction · 0.85

Tested by

no test coverage detected