An ergonomic arg parsing library for the Roc programming language.
- Introductions
- Why did I want to make this library?
| module [ArgTypeSelector.*, custom, str, u64] | |
| # Making builders pass through this type sets up the type to parse each Arg into. | |
| ArgTypeSelector := [ArgTypeSelector ()] | |
| custom : ArgTypeSelector, Str, ValueParser a -> ArgValueParser a | |
| custom = |ArgTypeSelector.(), type_name, parser| | |
| ArgValueParser.({ type_name, parser }) | |
| str : ArgTypeSelector -> ArgValueParser Str |
I hereby claim:
To claim this, I am signing this object: