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

Function newGuestsCreateCmd

internal/cli/guests.go:772–780  ·  view source on GitHub ↗

── guests create ────────────────────────────────────────────────────────────

()

Source from the content-addressed store, hash-verified

770// ── guests create ────────────────────────────────────────────────────────────
771
772func newGuestsCreateCmd() *cobra.Command {
773 cmd := &cobra.Command{
774 Use: "create",
775 Short: "Create a new guest (VM or LXC container)",
776 }
777 cmd.AddCommand(newGuestsCreateVMCmd())
778 cmd.AddCommand(newGuestsCreateLXCCmd())
779 return cmd
780}
781
782type guestCreateOutput struct {
783 VMID int `json:"vmid"`

Callers 1

newGuestsCmdFunction · 0.85

Calls 2

newGuestsCreateVMCmdFunction · 0.85
newGuestsCreateLXCCmdFunction · 0.85

Tested by

no test coverage detected