summaryrefslogtreecommitdiff
path: root/example/simple-error.zig (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-03-09Allow for clap to parse argument values into typesGravatar Jimmi Holst Christensen1-13/+0
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.
2021-05-08Modernize codebaseGravatar Komari Spaghetti1-2/+2
* Better naming for variables * Follow naming style of enums * Use `writer()` instead of `outStream()` * Change many initializers to be a one liner * Don't explicitly initialize fields to their default value
2020-11-02Report error context in Diagnostic (#26)Gravatar Komari Spaghetti1-3/+1
2020-11-02Report error context in Diagnostic (#26)Gravatar Komari Spaghetti1-3/+1
2019-12-01update for latest zigGravatar dbandstra1-1/+1
2019-11-27Add clap.parse as the simplest way of using the libGravatar Jimmi Holst Christensen1-0/+15