mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-26 07:55:50 +03:00
[GH-ISSUE #171] Feature Reqest: New Cli #34
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#34
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?
Originally created by @Tinyblargon on GitHub (Apr 27, 2022).
Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/171
In Tinyblargon/proxmox-api-go:CLI-Overhaul I have started working on a new CLI for the project using cobra. this library is commonly used to create a CLI in GO. it has build in features like "--help" making the project more accessible for new users.
The goal is to eventually replace the big switch statement in main with this new CLI.
The new CLI has to be enabled manually, this can be done by setting the environment variable "NEW_CLI" to "true".
Is this CLI rewrite usefull for the project?
If so should it be merged as one big pull request once the whole CLI is rewritten? Or create pull requests as i go?
@mleone87 commented on GitHub (Apr 28, 2022):
for sure! I think that this could be the v1.0.0 release of this project?
merging in a new branch could be an option too? When finished we can merge it into main
@ggongaware commented on GitHub (Apr 28, 2022):
Cobra looks like a good replacement to manage the CLI. It should give the opportunity for more test coverage which would help validate a release process.