Skip to content

Add environment variable support for all CLI flags - #126

Open
cryptomilk wants to merge 1 commit into
pubeldev:mainfrom
cryptomilk:asn-systemd-service
Open

cryptomilk wants to merge 1 commit into
pubeldev:mainfrom
cryptomilk:asn-systemd-service

Conversation

@cryptomilk

Copy link
Copy Markdown

Each kingpin flag now has an .Envar() call using the PRUSA_EXPORTER_* naming convention, enabling configuration via systemd EnvironmentFile=, Docker --env, and similar deployment patterns. CLI flags take precedence over env vars per kingpin's resolution order.

Each kingpin flag now has an .Envar() call using the PRUSA_EXPORTER_*
naming convention, enabling configuration via systemd EnvironmentFile=,
Docker --env, and similar deployment patterns. CLI flags take precedence
over env vars per kingpin's resolution order.
@cryptomilk

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant