| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | doc: Don't autogenerate the README | 2025-03-27 | 1 | -129/+0 | |
| | | |||||
| * | Update README.md.template | 2025-02-24 | 1 | -3/+3 | |
| | | |||||
| * | Patch up README and fix comments in example files. (#143) | 2024-11-25 | 1 | -15/+13 | |
| | | | | 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). | ||||
| * | docs: Add subcommand example | 2024-10-24 | 1 | -1/+10 | |
| | | |||||
| * | feat: Support multiple positionals of different types | 2024-10-24 | 1 | -3/+3 | |
| | | |||||
| * | Move updated README to template | 2024-09-21 | 1 | -7/+12 | |
| | | |||||
| * | Add installation instructions to README | 2024-06-09 | 1 | -0/+15 | |
| | | |||||
| * | Update to latest version of zig | 2024-01-09 | 1 | -0/+6 | |
| | | |||||
| * | Count occurrences of flags (was "Add .count type for flags") (#96) | 2023-04-02 | 1 | -0/+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) | ||||
| * | Update README template | 2022-07-28 | 1 | -0/+5 | |
| | | |||||
| * | New `help` api that provides options as to how paramters are printed. | 2022-03-30 | 1 | -3/+7 | |
| | | | | | fixes \#28 | ||||
| * | Fix usage output in README | 2022-03-23 | 1 | -1/+1 | |
| | | |||||
| * | Add parseParams and friends | 2022-03-23 | 1 | -2/+2 | |
| | | |||||
| * | Allow for clap to parse argument values into types | 2022-03-09 | 1 | -34/+17 | |
| | | | | | | | | | | | | | | | 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. | ||||
| * | Revert "Change clap into generating a struct" | 2022-02-25 | 1 | -2/+2 | |
| | | | | | This reverts commit cfaac64c404fb1c2e892880410aa3b7dd881ea58. | ||||
| * | Change clap into generating a struct | 2022-02-25 | 1 | -2/+2 | |
| | | | | | | | | | | 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` | ||||
| * | Fix minor typos in README.md | 2022-02-22 | 1 | -1/+4 | |
| | | |||||
| * | Master branch now follows zig master | 2021-12-21 | 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 | ||||
| * | Improve help and usage examples | 2021-11-29 | 1 | -0/+2 | |
| | | | | | | | | | 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 | ||||
| * | Update to latest zig in preperation for 0.8.0 | 2021-05-26 | 1 | -5/+5 | |
| | | |||||
| * | Deprecate ComptimeClap in favor of parseExv0.3.0 | 2020-11-10 | 1 | -9/+2 | |
| | | |||||
| * | adjust examples, README template | 2020-08-28 | 1 | -1/+3 | |
| | | |||||
| * | Merge branch 'master' into zig-master | 2020-04-18 | 1 | -0/+18 | |
| |\ | |||||
| | * | Better readme for usage | 2020-03-05 | 1 | -11/+2 | |
| | | | |||||
| | * | Add clap.usage | 2020-03-05 | 1 | -0/+23 | |
| |/ | |||||
| * | Add clap.parse as the simplest way of using the lib | 2019-11-27 | 1 | -20/+30 | |
| | | |||||
| * | correct comptime-clap-error.zig example | 2019-08-17 | 1 | -3/+3 | |
| | | |||||
| * | more features in README.md | 2019-08-17 | 1 | -0/+2 | |
| | | |||||
| * | adds parseParam | 2019-08-17 | 1 | -2/+2 | |
| | | | | | a less verbose way of getting a Param(Help). | ||||
| * | Embed examples in README during build | 2019-06-21 | 1 | -0/+77 | |
| fixes #11 | |||||