TanklesXL / glint

Gleam command-line argument parsing with flags and automated help text generation.
https://hex.pm/packages/glint
Apache License 2.0
59 stars 9 forks source link

Enum-flag draft #12

Closed JohnBjrk closed 1 year ago

JohnBjrk commented 1 year ago

I made a small draft on how enum-flags (for string values) could be implemented. Just as a proof of concept of my initial idea (as mentioned in #11). Still some things here that would need to be detailed for it to be a proper-implementation. If you had an idea of a different approach to this we can just discard this PR. I was more done as a more concrete way of bouncing the ideas.