summaryrefslogtreecommitdiff
path: root/example/README.md.template (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-04-02Count occurrences of flags (was "Add .count type for flags") (#96)Gravatar Devin J. Pohly1-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)
2022-07-28Update README templateGravatar Jimmi Holst Christensen1-0/+5
2022-03-30New `help` api that provides options as to how paramters are printed.Gravatar Jimmi Holst Christensen1-3/+7
fixes \#28
2022-03-23Fix usage output in READMEGravatar Jimmi Holst Christensen1-1/+1
2022-03-23Add parseParams and friendsGravatar Jimmi Holst Christensen1-2/+2
2022-03-09Allow for clap to parse argument values into typesGravatar Jimmi Holst Christensen1-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.
2022-02-25Revert "Change clap into generating a struct"Gravatar Jimmi Holst Christensen1-2/+2
This reverts commit cfaac64c404fb1c2e892880410aa3b7dd881ea58.
2022-02-25Change clap into generating a structGravatar Jimmi Holst Christensen1-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`
2022-02-22Fix minor typos in README.mdGravatar Jimmi Holst Christensen1-1/+4
2021-12-21Master branch now follows zig masterGravatar Komari Spaghetti1-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-29Improve help and usage examplesGravatar Jimmi Holst Christensen1-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
2021-05-26Update to latest zig in preperation for 0.8.0Gravatar Komari Spaghetti1-5/+5
2020-11-10Deprecate ComptimeClap in favor of parseExv0.3.0Gravatar Jimmi Holst Christensen1-9/+2
2020-09-06adjust examples, README templateGravatar Asherah Connor1-1/+3
2020-08-28adjust examples, README templateGravatar Asherah Connor1-1/+3
2020-03-05Better readme for usageGravatar Jimmi Holst Christensen1-11/+2
2020-03-05Add clap.usageGravatar Jimmi Holst Christensen1-0/+23
2019-11-27Add clap.parse as the simplest way of using the libGravatar Jimmi Holst Christensen1-20/+30
2019-08-17correct comptime-clap-error.zig exampleGravatar Jimmi Holst Christensen1-3/+3
2019-08-17more features in README.mdGravatar Jimmi Holst Christensen1-0/+2
2019-08-17adds parseParamGravatar Jimmi Holst Christensen1-2/+2
a less verbose way of getting a Param(Help).
2019-06-21Embed examples in README during buildGravatar Jimmi HC1-0/+77
fixes #11