summaryrefslogtreecommitdiff
path: root/example/README.md.template (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Count occurrences of flags (was "Add .count type for flags") (#96)Gravatar Devin J. Pohly2023-04-021-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 templateGravatar Jimmi Holst Christensen2022-07-281-0/+5
|
* New `help` api that provides options as to how paramters are printed.Gravatar Jimmi Holst Christensen2022-03-301-3/+7
| | | | fixes \#28
* Fix usage output in READMEGravatar Jimmi Holst Christensen2022-03-231-1/+1
|
* Add parseParams and friendsGravatar Jimmi Holst Christensen2022-03-231-2/+2
|
* Allow for clap to parse argument values into typesGravatar Jimmi Holst Christensen2022-03-091-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"Gravatar Jimmi Holst Christensen2022-02-251-2/+2
| | | | This reverts commit cfaac64c404fb1c2e892880410aa3b7dd881ea58.
* Change clap into generating a structGravatar Jimmi Holst Christensen2022-02-251-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.mdGravatar Jimmi Holst Christensen2022-02-221-1/+4
|
* Master branch now follows zig masterGravatar Komari Spaghetti2021-12-211-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 examplesGravatar Jimmi Holst Christensen2021-11-291-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.0Gravatar Komari Spaghetti2021-05-261-5/+5
|
* Deprecate ComptimeClap in favor of parseExv0.3.0Gravatar Jimmi Holst Christensen2020-11-101-9/+2
|
* adjust examples, README templateGravatar Asherah Connor2020-08-281-1/+3
|
* Merge branch 'master' into zig-masterGravatar Jimmi Holst Christensen2020-04-181-0/+18
|\
| * Better readme for usageGravatar Jimmi Holst Christensen2020-03-051-11/+2
| |
| * Add clap.usageGravatar Jimmi Holst Christensen2020-03-051-0/+23
|/
* Add clap.parse as the simplest way of using the libGravatar Jimmi Holst Christensen2019-11-271-20/+30
|
* correct comptime-clap-error.zig exampleGravatar Jimmi Holst Christensen2019-08-171-3/+3
|
* more features in README.mdGravatar Jimmi Holst Christensen2019-08-171-0/+2
|
* adds parseParamGravatar Jimmi Holst Christensen2019-08-171-2/+2
| | | | a less verbose way of getting a Param(Help).
* Embed examples in README during buildGravatar Jimmi HC2019-06-211-0/+77
fixes #11