Skip to content

Parse recipe flags from struct#317

Closed
ferranbt wants to merge 7 commits intomainfrom
ferranbt-struct-flag-parser
Closed

Parse recipe flags from struct#317
ferranbt wants to merge 7 commits intomainfrom
ferranbt-struct-flag-parser

Conversation

@ferranbt
Copy link
Contributor

This PR adds a utility package flags which creates a new flag set from a struct with field tags.

@ferranbt ferranbt requested a review from canercidam as a code owner January 18, 2026 13:24
@canercidam
Copy link
Member

This could be nicer but I think it is better to rethink this in the future. There's a bit of a tomayto/tomahto situation and I think there's nothing wrong with the current way IMO. And the current one is dumber so maybe that is easier to understand for more people. Thanks for creating awareness about this potential improvement!

@canercidam canercidam closed this Feb 16, 2026
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