summaryrefslogtreecommitdiff
path: root/example/simple-error.zig (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow for clap to parse argument values into typesGravatar Jimmi Holst Christensen2022-03-091-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.
* Modernize codebaseGravatar Komari Spaghetti2021-05-081-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
* Report error context in Diagnostic (#26)Gravatar Komari Spaghetti2020-11-021-3/+1
|
* update for latest zigGravatar dbandstra2019-12-011-1/+1
|
* Add clap.parse as the simplest way of using the libGravatar Jimmi Holst Christensen2019-11-271-0/+15