| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2022-03-09 | Allow for clap to parse argument values into types | 1 | -237/+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. | |||||
| 2022-02-25 | Revert "Change clap into generating a struct" | 1 | -0/+237 | ||
| This reverts commit cfaac64c404fb1c2e892880410aa3b7dd881ea58. | |||||
| 2022-02-25 | Change clap into generating a struct | 1 | -237/+0 | ||
| This changes - `.flag`, `.option`, `.options` and `.positionals` are now just fields you access. - Move the current `clap.parse` and friends into `clap.untyped.parse` - This is in preperation for `clap.typed.parse` | |||||
| 2021-12-06 | zig master updates: allocator changes (#60) | 1 | -1/+1 | ||
| 2021-10-11 | zig master updates | 1 | -2/+2 | ||
| 2021-07-25 | Discard unused variable | 1 | -1/+1 | ||
| 2021-07-16 | Forward diagnostics down to StreamingClap | 1 | -5/+54 | ||
| fixes #46 | |||||
| 2021-06-24 | Fix all new compiler errors from zig master | 1 | -4/+4 | ||
| 2021-06-24 | Fix all new compiler errors from zig master | 1 | -4/+4 | ||
| 2021-06-24 | Stay under 100 chars per line in all the code | 1 | -2/+1 | ||
| 2021-05-26 | Update to latest zig in preperation for 0.8.0 | 1 | -28/+42 | ||
| 2021-05-08 | Modernize codebase | 1 | -10/+10 | ||
| * 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 | |||||
| 2021-04-28 | Refactor Diagnostic (and others) into a ParseOption struct | 1 | -11/+8 | ||
| This allows for default arguments, which we can also extend without breaking peoples code in the future. This is a breaking change right now though. | |||||
| 2020-11-10 | Deprecate ComptimeClap in favor of parseExv0.3.0 | 1 | -4/+4 | ||
| 2020-11-10 | Better parseParam | 1 | -3/+1 | ||
| 2020-11-10 | Better parseParam | 1 | -3/+1 | ||
| 2020-11-03 | Improve Diagnostic error message reporting | 1 | -1/+1 | ||
| 2020-11-03 | Improve Diagnostic error message reporting | 1 | -1/+1 | ||
| 2020-11-02 | Report error context in Diagnostic (#26) | 1 | -5/+9 | ||
| 2020-11-02 | Report error context in Diagnostic (#26) | 1 | -5/+9 | ||
| 2020-09-06 | adjust examples, README template | 1 | -3/+3 | ||
| 2020-09-06 | reverse the order of these | 1 | -9/+9 | ||
| 2020-09-06 | fix up | 1 | -5/+8 | ||
| 2020-09-06 | separate options into single and multiple | 1 | -25/+35 | ||
| This avoids allocations if you never use multiple arguments. | |||||
| 2020-09-06 | parse and validate multiple option | 1 | -8/+15 | ||
| 2020-09-06 | parse multiple options | 1 | -9/+22 | ||
| 2020-08-28 | reverse the order of these | 1 | -9/+9 | ||
| 2020-08-28 | fix up | 1 | -5/+8 | ||
| 2020-08-28 | separate options into single and multiple | 1 | -25/+35 | ||
| This avoids allocations if you never use multiple arguments. | |||||
| 2020-08-28 | parse and validate multiple option | 1 | -8/+15 | ||
| 2020-08-28 | parse multiple options | 1 | -9/+22 | ||
| 2019-12-01 | update for latest zig | 1 | -4/+4 | ||
| 2019-10-06 | fmt, mv src/ clap/ and run fmt on build | 1 | -0/+0 | ||
| 2019-08-17 | make help message look more like other tools | 1 | -3/+3 | ||
| 2019-08-17 | adds parseParam | 1 | -21/+5 | ||
| a less verbose way of getting a Param(Help). | |||||
| 2019-08-06 | build with latest version of zig | 1 | -13/+6 | ||
| 2019-06-21 | Embed examples in README during build | 1 | -6/+13 | ||
| fixes #11 | |||||
| 2019-06-12 | updated to newest version of zig | 1 | -25/+43 | ||
| 2019-02-10 | Updated to newest testing API | 1 | -9/+9 | ||
| 2019-01-17 | Refactored the arg iterators to new be static interface implementations | 1 | -4/+4 | ||
| * This makes arg iterators easier to understand and implement * It should also be faster than using the fieldToParent builtin | |||||
| 2018-11-14 | Zig fmt | 1 | -3/+2 | ||
| 2018-11-14 | Added pub flag/option/positional init funcs to Param | 1 | -4/+4 | ||
| 2018-11-14 | Restructured and make StreamingClap simpler | 1 | -0/+142 | ||
| * Also added a ComptimeClap | |||||