[PR #498] [MERGED] refactor: use latest ConfigContent_Template methods in cli #509

Closed
opened 2026-02-28 00:42:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/498
Author: @NemoDacremont
Created: 10/29/2025
Status: Merged
Merged: 11/2/2025
Merged by: @Tinyblargon

Base: masterHead: refactor/cli-content-template


📝 Commits (1)

  • 8e07c36 refactor: use latest ConfigContent_Template methods in cli

📊 Changes

2 files changed (+36 additions, -5 deletions)

View changed files

cli/command/content/template/delete.go (+33 -0)
📝 cli/command/content/template/download.go (+3 -5)

📄 Description

Use the new ConfigContent_Template methods in the CLI as it should be a better practice.

I also added a command content template delete using .Delete() Template method


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Telmate/proxmox-api-go/pull/498 **Author:** [@NemoDacremont](https://github.com/NemoDacremont) **Created:** 10/29/2025 **Status:** ✅ Merged **Merged:** 11/2/2025 **Merged by:** [@Tinyblargon](https://github.com/Tinyblargon) **Base:** `master` ← **Head:** `refactor/cli-content-template` --- ### 📝 Commits (1) - [`8e07c36`](https://github.com/Telmate/proxmox-api-go/commit/8e07c36ae62ce8e2b7ce3f866903aa17f3e60b7b) refactor: use latest ConfigContent_Template methods in cli ### 📊 Changes **2 files changed** (+36 additions, -5 deletions) <details> <summary>View changed files</summary> ➕ `cli/command/content/template/delete.go` (+33 -0) 📝 `cli/command/content/template/download.go` (+3 -5) </details> ### 📄 Description Use the new `ConfigContent_Template` methods in the CLI as it should be a better practice. I also added a command `content template delete` using `.Delete()` Template method --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:42:27 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#509
No description provided.