| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix misspelled things | 2023-01-12 | 2 | -2/+2 | |
| | | |||||
| * | Update README template | 2022-07-28 | 1 | -0/+5 | |
| | | |||||
| * | Add clap.parsers.enumeration for parsing enums | 2022-07-25 | 1 | -0/+5 | |
| | | | | | closes #78 | ||||
| * | Update help and usage examples | 2022-03-30 | 2 | -6/+6 | |
| | | |||||
| * | New `help` api that provides options as to how paramters are printed. | 2022-03-30 | 2 | -4/+8 | |
| | | | | | fixes \#28 | ||||
| * | Fix usage output in README | 2022-03-23 | 1 | -1/+1 | |
| | | |||||
| * | Add parseParams and friends | 2022-03-23 | 5 | -25/+29 | |
| | | |||||
| * | Allow for clap to parse argument values into types | 2022-03-09 | 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. | ||||
| * | Revert "Change clap into generating a struct" | 2022-02-25 | 6 | -34/+34 | |
| | | | | | This reverts commit cfaac64c404fb1c2e892880410aa3b7dd881ea58. | ||||
| * | Change clap into generating a struct | 2022-02-25 | 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` | ||||
| * | Fix minor typos in README.md | 2022-02-22 | 1 | -1/+4 | |
| | | |||||
| * | Refactor the ArgIterator interface | 2022-01-31 | 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`. | ||||
| * | 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 | 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 | ||||
| * | Use debug.print instead of deprecated debug.warn in examples | 2021-07-17 | 3 | -11/+11 | |
| | | | | | fixes comment on #11 | ||||
| * | Update example of `usage` (#45) | 2021-07-06 | 1 | -3/+3 | |
| | | |||||
| * | Update to latest zig in preperation for 0.8.0 | 2021-05-26 | 6 | -24/+16 | |
| | | |||||
| * | Merge branch 'master' into zig-master | 2021-05-26 | 6 | -41/+44 | |
| |\ | |||||
| | * | Modernize codebase | 2021-05-08 | 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 | ||||
| | * | Refactor Diagnostic (and others) into a ParseOption struct | 2021-04-28 | 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. | ||||
| * | | zig master updates | 2021-01-10 | 5 | -5/+5 | |
| |/ | |||||
| * | Deprecate ComptimeClap in favor of parseExv0.3.0 | 2020-11-10 | 2 | -12/+3 | |
| | | |||||
| * | Better parseParam | 2020-11-10 | 2 | -6/+2 | |
| | | |||||
| * | Report error context in Diagnostic (#26) | 2020-11-02 | 4 | -6/+32 | |
| | | |||||
| * | adjust examples, README template | 2020-08-28 | 4 | -9/+17 | |
| | | |||||
| * | Run zig fmt on buildv0.2.0 | 2020-04-18 | 3 | -6/+6 | |
| | | |||||
| * | Merge branch 'master' into zig-master | 2020-04-18 | 2 | -0/+36 | |
| |\ | |||||
| | * | Better readme for usage | 2020-03-05 | 1 | -11/+2 | |
| | | | |||||
| | * | Add clap.usage | 2020-03-05 | 2 | -0/+43 | |
| | | | |||||
| * | | update examples to latest zig | 2020-04-11 | 4 | -5/+4 | |
| | | | |||||
| * | | update for latest zig (varargs is no more) | 2019-12-09 | 3 | -9/+9 | |
| | | | |||||
| * | | update for latest zig | 2019-12-01 | 5 | -6/+6 | |
| |/ | |||||
| * | Add clap.parse as the simplest way of using the lib | 2019-11-27 | 4 | -39/+71 | |
| | | |||||
| * | Breaking: OsIterator will now get the exe on init | 2019-11-09 | 2 | -10/+4 | |
| | | |||||
| * | correct comptime-clap-error.zig example | 2019-08-17 | 2 | -7/+5 | |
| | | |||||
| * | more features in README.md | 2019-08-17 | 1 | -0/+2 | |
| | | |||||
| * | make help message look more like other tools | 2019-08-17 | 1 | -2/+2 | |
| | | |||||
| * | add missing word | 2019-08-17 | 1 | -1/+1 | |
| | | |||||
| * | adds parseParam | 2019-08-17 | 3 | -25/+12 | |
| | | | | | a less verbose way of getting a Param(Help). | ||||
| * | build with latest version of zig | 2019-08-06 | 2 | -10/+2 | |
| | | |||||
| * | Embed examples in README during build | 2019-06-21 | 4 | -5/+125 | |
| | | | | | fixes #11 | ||||
| * | updated to newest version of zig | 2019-06-12 | 2 | -15/+32 | |
| | | |||||
| * | Merge branch 'master' of github.com:Hejsil/zig-clap | 2019-01-17 | 2 | -4/+4 | |
| |\ | |||||
| | * | Changed Names.prefix to Names.both | 2018-11-15 | 2 | -4/+4 | |
| | | | |||||
| * | | Refactored the arg iterators to new be static interface implementations | 2019-01-17 | 2 | -8/+6 | |
| |/ | | | | | * This makes arg iterators easier to understand and implement * It should also be faster than using the fieldToParent builtin | ||||
| * | Added help function | 2018-11-15 | 2 | -26/+19 | |
| | | |||||
| * | Added pub flag/option/positional init funcs to Param | 2018-11-14 | 2 | -6/+6 | |
| | | |||||
| * | Restructured and make StreamingClap simpler | 2018-11-14 | 2 | -0/+101 | |
| * Also added a ComptimeClap | |||||