| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2025-03-27 | doc: Don't autogenerate the README | 1 | -129/+0 | ||
| 2025-02-24 | Update README.md.template | 1 | -3/+3 | ||
| 2024-11-25 | Patch up README and fix comments in example files. (#143) | 5 | -28/+26 | ||
| 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 | fix: Subcommand example comments needs a scroll to be read | 1 | -6/+6 | ||
| 2024-10-24 | docs: Add subcommand example | 2 | -1/+106 | ||
| 2024-10-24 | feat: Support multiple positionals of different types | 3 | -5/+5 | ||
| 2024-10-22 | refactor: Always access using full namespace | 5 | -44/+33 | ||
| This is my new preferred style of programming Zig :) | |||||
| 2024-09-21 | Move updated README to template | 1 | -7/+12 | ||
| 2024-07-18 | feat: Allow for the assignment separator to be configured | 1 | -0/+3 | ||
| 2024-06-09 | Add installation instructions to README | 1 | -0/+15 | ||
| 2024-01-09 | Update to latest version of zig | 1 | -0/+6 | ||
| 2023-12-13 | Remove the default allocator from `ParseOptions` | 4 | -2/+20 | ||
| fixes #111 | |||||
| 2023-04-02 | Count occurrences of flags (was "Add .count type for flags") (#96) | 5 | -4/+5 | ||
| 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 | 2 | -2/+2 | ||
| 2022-07-28 | Update README template | 1 | -0/+5 | ||
| 2022-07-25 | Add clap.parsers.enumeration for parsing enums | 1 | -0/+5 | ||
| closes #78 | |||||
| 2022-03-30 | Update help and usage examples | 2 | -6/+6 | ||
| 2022-03-30 | New `help` api that provides options as to how paramters are printed. | 2 | -4/+8 | ||
| fixes \#28 | |||||
| 2022-03-23 | Fix usage output in README | 1 | -1/+1 | ||
| 2022-03-23 | Add parseParams and friends | 5 | -25/+29 | ||
| 2022-03-09 | Allow for clap to parse argument values into types | 7 | -92/+59 | ||
| 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" | 6 | -34/+34 | ||
| This reverts commit cfaac64c404fb1c2e892880410aa3b7dd881ea58. | |||||
| 2022-02-25 | Change clap into generating a struct | 6 | -34/+34 | ||
| 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` | |||||
| 2022-02-22 | Fix minor typos in README.md | 1 | -1/+4 | ||
| 2022-01-31 | Refactor the ArgIterator interface | 2 | -7/+11 | ||
| They now follow the interface provided by the standard library. This now means that we no longer needs `args.OsIterator` as that the one from `std` can now be used directly. Also remove `args.ShellIterator` as a simular iterator exists in `std` called `ArgIteratorGeneral`. | |||||
| 2021-12-21 | Master branch now follows zig master | 1 | -4/+0 | ||
| It makes more sense to have the master branch follow zig master, and then create versioned branches to backport bug fixes to if nessesary | |||||
| 2021-11-29 | Improve help and usage examples | 3 | -15/+23 | ||
| Instead of just calling these function, have the examples be small programs that demonstrates how you would actually use them together with argument parsing. fixes #57 | |||||
| 2021-07-17 | Use debug.print instead of deprecated debug.warn in examples | 3 | -11/+11 | ||
| fixes comment on #11 | |||||
| 2021-07-06 | Update example of `usage` (#45) | 1 | -3/+3 | ||
| 2021-05-26 | Update to latest zig in preperation for 0.8.0 | 6 | -24/+16 | ||
| 2021-05-08 | Modernize codebase | 6 | -23/+18 | ||
| * 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 | 3 | -20/+20 | ||
| 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 | 5 | -5/+5 | ||
| 2020-11-10 | Deprecate ComptimeClap in favor of parseExv0.3.0 | 2 | -12/+3 | ||
| 2020-11-10 | Better parseParam | 2 | -6/+2 | ||
| 2020-11-10 | Better parseParam | 2 | -6/+2 | ||
| 2020-11-02 | Report error context in Diagnostic (#26) | 4 | -6/+32 | ||
| 2020-11-02 | Report error context in Diagnostic (#26) | 4 | -6/+32 | ||
| 2020-09-06 | adjust examples, README template | 4 | -9/+17 | ||
| 2020-08-28 | adjust examples, README template | 4 | -9/+17 | ||
| 2020-04-18 | Run zig fmt on buildv0.2.0 | 3 | -6/+6 | ||
| 2020-04-11 | update examples to latest zig | 4 | -5/+4 | ||
| 2020-03-05 | Better readme for usage | 1 | -11/+2 | ||
| 2020-03-05 | Add clap.usage | 2 | -0/+43 | ||
| 2019-12-09 | update for latest zig (varargs is no more) | 3 | -9/+9 | ||
| 2019-12-01 | update for latest zig | 5 | -6/+6 | ||
| 2019-11-27 | Add clap.parse as the simplest way of using the lib | 4 | -39/+71 | ||
| 2019-11-09 | Breaking: OsIterator will now get the exe on init | 2 | -10/+4 | ||
| 2019-08-17 | correct comptime-clap-error.zig example | 2 | -7/+5 | ||
| 2019-08-17 | more features in README.md | 1 | -0/+2 | ||