mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 05:15:49 +03:00
[PR #276] [MERGED] feat: add command line config overrides support #286
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#286
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/devgianlu/go-librespot/pull/276
Author: @YutongGu
Created: 12/24/2025
Status: ✅ Merged
Merged: 12/24/2025
Merged by: @devgianlu
Base:
master← Head:conf-override📝 Commits (1)
b2ddc97feat: add command line config overrides support📊 Changes
1 file changed (+24 additions, -0 deletions)
View changed files
📝
cmd/daemon/main.go(+24 -0)📄 Description
Description
This PR adds the ability to override configuration values from the command line without modifying the YAML config file.
This is useful for:
Usage
Configuration Priority
Overrides are applied after all other configuration sources, giving them the highest priority:
Changes
Error Handling
The following cases produce clear error messages:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
nhooyr.io/websocketwithgithub.com/coder/websocket#289