── guests create ────────────────────────────────────────────────────────────
()
| 770 | // ── guests create ──────────────────────────────────────────────────────────── |
| 771 | |
| 772 | func 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 | |
| 782 | type guestCreateOutput struct { |
| 783 | VMID int `json:"vmid"` |
no test coverage detected