Skip to content

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

2 participants