Skip to content

Add environment variables as defaults for global flags - #4750

Merged
emcfarlane merged 3 commits into
mainfrom
ed/envFlags
Oct 19, 2026
Merged

emcfarlane merged 3 commits into
mainfrom
ed/envFlags

Conversation

@emcfarlane

@emcfarlane emcfarlane commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Allows for environment variables to be set the defaults for the global flags. This includes BUF_DEBUG, BUF_LOG_FORMAT and BUF_TIMEOUT for --debug, --log-format and --timeout.

Related to bufbuild/app-go#14

@emcfarlane
emcfarlane requested a review from doriable October 19, 2026 12:58
@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedOct 19, 2026, 8:17 PM

@emcfarlane
emcfarlane requested a review from pkwarren October 19, 2026 20:05
Comment thread go.mod Outdated
@emcfarlane
emcfarlane requested a review from pkwarren October 19, 2026 20:17
@pkwarren pkwarren changed the title Add environment variabls as defaults for global flags Add environment variables as defaults for global flags Oct 19, 2026
@emcfarlane
emcfarlane merged commit 1c40cb3 into main Oct 19, 2026
11 checks passed
@emcfarlane
emcfarlane deleted the ed/envFlags branch October 19, 2026 20:37
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.

2 participants