Skip to content

Improved support for Func flags#152

Merged
peterbourgon merged 1 commit intomainfrom
func-flags-update
Jul 20, 2025
Merged

Improved support for Func flags#152
peterbourgon merged 1 commit intomainfrom
func-flags-update

Conversation

@peterbourgon
Copy link
Owner

This PR improves support for Func flags. The main change is the addition of ff.FlagSet.FuncConfigVar, which was essentially missing until now. We also introduce ffval.Func and use it instead of the previous approach, which was basically piggybacking on the stdlib flag.Func value. This PR also improves the documentation for the FlagSet type.

Closes #150.

@peterbourgon peterbourgon merged commit f8588a1 into main Jul 20, 2025
3 checks passed
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.

(v4) Placeholder for Func params

1 participant