mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #164] [MERGED] Added file flag #276
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#276
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/164
Author: @Tinyblargon
Created: 4/13/2022
Status: ✅ Merged
Merged: 4/13/2022
Merged by: @mleone87
Base:
master← Head:Feature-File-Flag📝 Commits (1)
9efe0edAdded file flag📊 Changes
6 files changed (+40 additions, -39 deletions)
View changed files
📝
main.go(+24 -7)📝
proxmox/config_acme_account.go(+3 -7)📝
proxmox/config_acme_plugin.go(+3 -7)📝
proxmox/config_lxc.go(+4 -4)📝
proxmox/config_qemu.go(+3 -7)📝
proxmox/config_user.go(+3 -7)📄 Description
Added a file flag to specify a config file.
This feature will help with development since it is quite awkward to input the config from stdin while debugging.
The old behavior of using os.Stdin is still there and will be used when the file flag is either empty or unspecified.
All user file input is now handled by the GetConfig function.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.