summaryrefslogtreecommitdiff
path: root/clap/parsers.zig (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-09-10parsers: Add extra tests to `clap.parsers.int`Gravatar Jimmi Holst Christensen1-0/+7
2023-09-10parsers: Actually add some documentation to these functionsGravatar Jimmi Holst Christensen1-2/+10
2022-07-25Add clap.parsers.enumeration for parsing enumsGravatar Jimmi Holst Christensen1-0/+37
closes #78
2022-03-09Allow for clap to parse argument values into typesGravatar Jimmi Holst Christensen1-0/+48
This changes - `.flag`, `.option`, `.options` and `.positionals` are now just fields you access on the result of `parse` and `parseEx`. - `clap.ComptimeClap` has been removed. - `clap.StreamingClap` is now called `clap.streaming.Clap` - `parse` and `parseEx` now takes a `value_parsers` argument that provides the parsers to parse values. - Remove `helpEx`, `helpFull`, `usageEx` and `usageFull`. They now just expect `Id` to have methods for getting the description and value texts.