── guests show ──────────────────────────────────────────────────────────────
()
| 191 | // ── guests show ────────────────────────────────────────────────────────────── |
| 192 | |
| 193 | func newGuestsShowCmd() *cobra.Command { |
| 194 | return &cobra.Command{ |
| 195 | Use: "show <vmid>", |
| 196 | Short: "Show details for a specific guest", |
| 197 | Long: "Show detailed information for a guest identified by VMID.", |
| 198 | Example: ` pvetui guests show 100 |
| 199 | pvetui --profile prod guests show 100`, |
| 200 | Args: cobra.ExactArgs(1), |
| 201 | RunE: runGuestsShow, |
| 202 | ValidArgsFunction: completeVMIDs, |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | func runGuestsShow(cmd *cobra.Command, args []string) error { |
| 207 | vmid, err := parseVMID(args[0]) |