summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix: enable building on 32-bit platformsHEADmasterGravatar Jared Baur2025-12-041-1/+1
| | | | | Without this change, we get the following error when targeting 32bit platforms (e.g. arm-linux): "@fieldParentPtr increases pointer alignment".
* fix: Use the new @Struct and @Tuple constructorsGravatar Leapofod2025-12-012-27/+19
| | | | | @Type has been replaced with individual type-creating builtins as of zig commit c5383173a0de17210f3036acd942738e906997e5
* cicd: Use minimum_zig_version instead of masterGravatar Jimmi Holst Christensen2025-11-262-21/+13
|
* fix: typos and minor grammarGravatar Ryoga-exe2025-09-221-4/+4
|
* fix: use `usageToFile` in usage exampleGravatar Ryoga-exe2025-09-221-1/+1
|
* Release 0.11.00.11.0Gravatar Jimmi Holst Christensen2025-08-211-1/+1
|
* fix: Update minimum_zig_version to 0.15.1Gravatar Jimmi Holst Christensen2025-08-211-1/+1
|
* chore: bump actions/checkout from 4 to 5Gravatar Jimmi Holst Christensen2025-08-162-4/+4
|
* using new arraylist apiGravatar Fabrice2025-08-167-21/+18
|
* fix: Typo in `HelpOptions.markdown_lite` doc commentGravatar Jimmi Holst Christensen2025-07-221-1/+1
|
* feat: Add `clap.usageToFile`Gravatar Jimmi Holst Christensen2025-07-223-19/+18
| | | | | | The code for printing usage became quite verbose after writegate. Writing usage to a file like stdout and stderr is very common, so this wrapper provides a default, buffered way to report to a file.
* feat: Add `clap.helpToFile`Gravatar Jimmi Holst Christensen2025-07-223-12/+17
| | | | | | The code for printing help became quite verbose after writegate. Writing help to a file like stdout and stderr is very common, so this wrapper provides a default, buffered way to report to a file.
* feat: Add `Diagnostic.reportToFile`Gravatar Jimmi Holst Christensen2025-07-227-43/+24
| | | | | | 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.
* Update to Zig 0.15.0-dev.1147Gravatar Ivan Stepanov2025-07-2112-150/+201
|
* chore: Update setup-zig to v2Gravatar Jimmi Holst Christensen2025-05-073-14/+21
|
* doc: Don't autogenerate the READMEGravatar Jimmi Holst Christensen2025-03-273-164/+0
|
* Release 0.10.00.10.0Gravatar Jimmi Holst Christensen2025-03-051-1/+1
|
* Add minimum_zig_versionGravatar Jimmi Holst Christensen2025-03-051-0/+1
|
* chore: Update to latest version of zigGravatar Jimmi Holst Christensen2025-03-031-3/+12
|
* chore: bump deploy-pages action versionGravatar Jora Troosh2025-02-241-1/+1
|
* Update README.md.templateGravatar Komari Spaghetti2025-02-241-3/+3
|
* Update README.mdGravatar Komari Spaghetti2025-02-241-3/+3
|
* chore: Update upload-pages-artifactGravatar Jimmi Holst Christensen2025-02-211-1/+1
|
* chore: Update upload-artifactGravatar Jimmi Holst Christensen2025-02-211-1/+1
|
* fix: More than 2 positionals not parsing correctlyGravatar Jimmi Holst Christensen2025-02-211-26/+44
| | | | Fixes #149
* chore: update to zig version 0.14.0-dev.2837+f38d7a92cGravatar Travis Staloch2025-01-191-2/+2
|
* Patch up README and fix comments in example files. (#143)Gravatar JustAnotherCodemonkey2024-11-256-56/+52
| | | 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).
* refactor: switch on signednessGravatar Valentin Charoux2024-11-151-33/+27
|
* fix: add uint parsing functionGravatar Valentin Charoux2024-11-151-17/+54
| | | | | | In order to get the more precise `ParseIntError.InvalidCharacter` error instead of `ParseIntError.Overflow` when a negative number is passed to a usize, uX typed argument, I use the `fmt.parseUnsigned` function.
* chore: Update to latest version of zigGravatar Jimmi Holst Christensen2024-11-041-9/+38
|
* fix: Subcommand example comments needs a scroll to be readGravatar Jimmi Holst Christensen2024-10-242-12/+12
|
* docs: Add subcommand exampleGravatar Jimmi Holst Christensen2024-10-244-3/+215
|
* feat: Support multiple positionals of different typesGravatar Jimmi Holst Christensen2024-10-245-78/+192
|
* refactor: positonals type now depend on the number of values takenGravatar Jimmi Holst Christensen2024-10-221-35/+94
| | | | | | For `Values.one` positionals will be of type `?T` For `Values.many` positonals will be of type `[]const T`
* refactor: Always access using full namespaceGravatar Jimmi Holst Christensen2024-10-2212-281/+232
| | | | This is my new preferred style of programming Zig :)
* feat: Add `terminating_positional` to `clap.ParseOptions`Gravatar Jimmi Holst Christensen2024-10-221-3/+49
| | | | | | | | This option makes `clap.parse` and `clap.parseEx` stop parsing after encountering a certain positional index. Setting `terminating_positional` to 0 will make them stop parsing after the 0th positional has been added to `positionals` (aka after parsing 1 positional)
* chore: Correct eval branch quota comment in `countParams`Gravatar Jimmi Holst Christensen2024-10-221-2/+2
|
* refactor: Remove workaround in `parseEx` that required `anyerror`Gravatar Jimmi Holst Christensen2024-10-221-47/+22
|
* Move updated README to templateGravatar Jimmi Holst Christensen2024-09-211-7/+12
|
* Make installation section of readme even more clearGravatar Komari Spaghetti2024-09-161-7/+12
| | | | | | | The installation section no longer assumes that all developers use the master branch of Zig. Instead if provides different steps depending on which Zig version developers are using. Related #61
* fix: Cicd use `with: master` as `latest` is the defaultGravatar Jimmi Holst Christensen2024-09-132-2/+6
|
* chore: Use mlugg/setup-zig instead of goto-bus-stop/setup-zigGravatar Jimmi Holst Christensen2024-09-132-9/+3
|
* chore: Run jobs weekly instead of dailyGravatar Jimmi Holst Christensen2024-09-131-1/+1
|
* adapt to latest zig changesGravatar owl2024-08-302-5/+5
|
* count codepoints instead of bytes, to determine widthGravatar owl2024-08-302-16/+162
| | | | | | | | | | | A complete solution would be to count grapheme clusters, but that would require adding a dependency on something like zg. Counting codepoints will ensure that typical non-ASCII text is supported, but you can still throw it off with more complex Unicode constructions, which might not be so useful in help text. Fixes #75
* feat: Allow for the assignment separator to be configuredGravatar Jimmi Holst Christensen2024-07-184-116/+188
|
* Update to newest version of zigGravatar Jimmi Holst Christensen2024-07-171-1/+1
|
* Update to latest zig0.9.0Gravatar Techatrix2024-06-161-4/+4
| | | | | | See https://github.com/ziglang/zig/pull/19847 Compatibility with Zig 0.13.0 remains unchanged
* Add installation instructions to READMEGravatar 12ball2024-06-092-0/+30
|
* gitignore: Add new zig-cache folderGravatar Jimmi Holst Christensen2024-05-311-1/+1
|