| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2025-08-16 | using new arraylist api | 1 | -1/+1 | ||
| 2025-07-22 | feat: Add `Diagnostic.reportToFile` | 1 | -4/+2 | ||
| The code for reporting errors became quite verbose after writegate. Reporting to stderr is very common, so this wrapper provides a default, buffered way to report to a file. | |||||
| 2025-07-21 | Update to Zig 0.15.0-dev.1147 | 1 | -2/+4 | ||
| 2024-11-25 | Patch up README and fix comments in example files. (#143) | 1 | -2/+2 | ||
| The readme was also reflowed to 100 cols. I probably should have put that in a separate commit but oh well. The comments were not subjected to reflowing (yet). | |||||
| 2024-10-24 | feat: Support multiple positionals of different types | 1 | -1/+1 | ||
| 2024-10-22 | refactor: Always access using full namespace | 1 | -11/+8 | ||
| This is my new preferred style of programming Zig :) | |||||
| 2023-12-13 | Remove the default allocator from `ParseOptions` | 1 | -0/+4 | ||
| fixes #111 | |||||
| 2023-04-02 | Count occurrences of flags (was "Add .count type for flags") (#96) | 1 | -1/+1 | ||
| Breaking change: parseEx now counts the number of occurrences of flag parameters (those with takes_value == .none) and returns the count as a u8. Users of the library will need to change if (arg_result.my_flag) to if (arg_result.my_flag != 0) | |||||
| 2023-01-12 | Fix misspelled things | 1 | -1/+1 | ||
| 2022-03-23 | Add parseParams and friends | 1 | -7/+8 | ||
| 2022-03-09 | Allow for clap to parse argument values into types | 1 | -11/+13 | ||
| 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 | -10/+10 | ||
| This reverts commit cfaac64c404fb1c2e892880410aa3b7dd881ea58. | |||||
| 2022-02-25 | Change clap into generating a struct | 1 | -10/+10 | ||
| 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-07-17 | Use debug.print instead of deprecated debug.warn in examples | 1 | -4/+4 | ||
| fixes comment on #11 | |||||
| 2021-05-26 | Update to latest zig in preperation for 0.8.0 | 1 | -3/+3 | ||
| 2021-05-08 | Modernize codebase | 1 | -1/+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 | |||||
| 2021-04-28 | Refactor Diagnostic (and others) into a ParseOption struct | 1 | -6/+5 | ||
| 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. | |||||
| 2021-01-10 | zig master updates | 1 | -1/+1 | ||
| 2020-11-10 | Better parseParam | 1 | -3/+1 | ||
| 2020-11-10 | Better parseParam | 1 | -3/+1 | ||
| 2020-11-02 | Report error context in Diagnostic (#26) | 1 | -1/+10 | ||
| 2020-11-02 | Report error context in Diagnostic (#26) | 1 | -1/+10 | ||
| 2020-09-06 | adjust examples, README template | 1 | -3/+6 | ||
| 2020-08-28 | adjust examples, README template | 1 | -3/+6 | ||
| 2020-04-18 | Run zig fmt on buildv0.2.0 | 1 | -2/+2 | ||
| 2020-04-11 | update examples to latest zig | 1 | -1/+1 | ||
| 2019-12-09 | update for latest zig (varargs is no more) | 1 | -3/+3 | ||
| 2019-12-01 | update for latest zig | 1 | -1/+1 | ||
| 2019-11-27 | Add clap.parse as the simplest way of using the lib | 1 | -9/+1 | ||
| 2019-11-09 | Breaking: OsIterator will now get the exe on init | 1 | -5/+2 | ||
| 2019-08-17 | make help message look more like other tools | 1 | -2/+2 | ||
| 2019-08-17 | add missing word | 1 | -1/+1 | ||
| 2019-08-17 | adds parseParam | 1 | -13/+6 | ||
| a less verbose way of getting a Param(Help). | |||||
| 2019-08-06 | build with latest version of zig | 1 | -7/+1 | ||
| 2019-06-21 | Embed examples in README during build | 1 | -5/+2 | ||
| fixes #11 | |||||
| 2019-06-12 | updated to newest version of zig | 1 | -10/+14 | ||
| 2019-01-17 | Refactored the arg iterators to new be static interface implementations | 1 | -4/+3 | ||
| * This makes arg iterators easier to understand and implement * It should also be faster than using the fieldToParent builtin | |||||
| 2018-11-15 | Changed Names.prefix to Names.both | 1 | -2/+2 | ||
| 2018-11-15 | Added help function | 1 | -16/+19 | ||
| 2018-11-14 | Added pub flag/option/positional init funcs to Param | 1 | -3/+3 | ||
| 2018-11-14 | Restructured and make StreamingClap simpler | 1 | -0/+47 | ||
| * Also added a ComptimeClap | |||||