mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #177] [MERGED] Cli overhaul #287
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#287
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Telmate/proxmox-api-go/pull/177
Author: @Tinyblargon
Created: 5/9/2022
Status: ✅ Merged
Merged: 5/9/2022
Merged by: @mleone87
Base:
master← Head:CLI-Overhaul📝 Commits (10+)
8d8762bBeginning of a new cli using cobra98fe1c4Copy NewClient logic from main to cobrad1b6f22Added List commands8167c02New inplementation of the list snapshots feature5206832Add Intergration test for List_Nodes, List_Users3869e5bChange Error handeling8077a0fAdd Pool Create,Delete,Get,update Functions804252bIntergration Test: Pooled8e754Merge branch 'Telmate:master' into CLI-Overhaul8797572Add Set user command📊 Changes
39 files changed (+1272 additions, -3 deletions)
View changed files
➕
cli/cobra.go(+94 -0)➕
cli/command/commands/commands.go(+11 -0)➕
cli/command/create/create-pool.go(+29 -0)➕
cli/command/create/create.go(+15 -0)➕
cli/command/delete/delete-metricserver.go(+17 -0)➕
cli/command/delete/delete-pool.go(+18 -0)➕
cli/command/delete/delete-user.go(+18 -0)➕
cli/command/delete/delete.go(+33 -0)➕
cli/command/example/example.go(+15 -0)➕
cli/command/get/get-pool.go(+31 -0)➕
cli/command/get/get-user.go(+17 -0)➕
cli/command/get/get.go(+31 -0)➕
cli/command/list/list-acmeaccounts.go(+18 -0)➕
cli/command/list/list-acmeplugins.go(+18 -0)➕
cli/command/list/list-guests.go(+17 -0)➕
cli/command/list/list-metricservers.go(+18 -0)➕
cli/command/list/list-nodes.go(+17 -0)➕
cli/command/list/list-pools.go(+18 -0)➕
cli/command/list/list-snapshots.go(+37 -0)➕
cli/command/list/list-storages.go(+18 -0)...and 19 more files
📄 Description
This is one of many pull request for feature #171
Work so far:
for the user tests to be covering all cases we would first need to be able to create and delete groups, i will start working on this feature shortly.
the new CLI will only be used when the environment variable "NEW_CLI"="true"
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.