[PR #516] [MERGED] migrate: add list resources to the new cli #519

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

📋 Pull Request Information

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

Base: masterHead: migrate/list-resources


📝 Commits (2)

  • bd64061 migrate: add list resources to the new cli
  • 591fad1 fix: Resources should be under Storages in list.go

📊 Changes

2 files changed (+21 additions, -0 deletions)

View changed files

cli/command/list/list-resources.go (+19 -0)
📝 cli/command/list/list.go (+2 -0)

📄 Description

I'm pushing this fairly simple patch that moves getResourceList to list resources in the new CLI.

Maybe it could be interesting to add more features to this command, like passing the type of resources wanted in the arguments, however, I think it's better to stick with a simple translation to the new CLI for now.

fixes #515

Testing

This new command can be tested by running :

NEW_CLI=true ./proxmox-api-go -i list resources

🔄 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/516 **Author:** [@NemoDacremont](https://github.com/NemoDacremont) **Created:** 11/11/2025 **Status:** ✅ Merged **Merged:** 11/13/2025 **Merged by:** [@Tinyblargon](https://github.com/Tinyblargon) **Base:** `master` ← **Head:** `migrate/list-resources` --- ### 📝 Commits (2) - [`bd64061`](https://github.com/Telmate/proxmox-api-go/commit/bd640617d74ac0a9dfba541f0e829c9a86d3986e) migrate: add list resources to the new cli - [`591fad1`](https://github.com/Telmate/proxmox-api-go/commit/591fad10c655000153335531e92baa45ae79f185) fix: Resources should be under Storages in list.go ### 📊 Changes **2 files changed** (+21 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `cli/command/list/list-resources.go` (+19 -0) 📝 `cli/command/list/list.go` (+2 -0) </details> ### 📄 Description I'm pushing this fairly simple patch that moves `getResourceList` to `list resources` in the new CLI. Maybe it could be interesting to add more features to this command, like passing the type of resources wanted in the arguments, however, I think it's better to stick with a simple translation to the new CLI for now. fixes #515 ### Testing This new command can be tested by running : ```sh NEW_CLI=true ./proxmox-api-go -i list resources ``` --- <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:30 +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#519
No description provided.