summaryrefslogtreecommitdiff
path: root/clap.zig (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed breakpoints and fixed a testGravatar Jimmi Holst Christensen2018-04-261-10/+5
|
* Refactored clap.zigGravatar Jimmi Holst Christensen2018-04-261-312/+244
| | | | | | * More tests * take value options now take a custom parser: closes #3 * using the functional with pattern instead of builder: related #8
* Refactor. Preparing for parsing of subcommandsGravatar Jimmi Holst Christensen2018-03-221-204/+211
|
* Fixed compiler errorsGravatar Jimmi Holst Christensen2018-03-221-3/+3
|
* Major refactor of clapGravatar Jimmi Holst Christensen2018-03-211-288/+388
| | | | | | | * You can now specify the field an option is assosiated with * When a match is found, clap will generate code for parsing the argument and setting the field * WIP sub commands * Removed help printing. It'll be back, better and stronger
* Removed bits.zigGravatar Jimmi Holst Christensen2018-03-201-2/+1
|
* Implemented chaining of small argumentsGravatar Jimmi Holst Christensen2018-03-201-7/+61
|
* We now handle arguments "--arg=VALUE"Gravatar Jimmi Holst Christensen2018-03-201-21/+48
|
* Updated help function to not use inline loop.Gravatar Jimmi Holst Christensen2018-03-201-10/+7
| | | | | Inlining the loop in help made the output quite large for no real gain in perfomance.
* Fixed help fnGravatar Jimmi Holst Christensen2018-03-151-1/+1
|
* Refactored clap to use inline loops where possible.Gravatar Jimmi Holst Christensen2018-03-141-47/+63
| | | | Time to study the differences in the assemply
* Fixed code crashing ZigGravatar Jimmi Holst Christensen2018-03-141-12/+11
|
* Changed around some code in testGravatar Jimmi Holst Christensen2018-03-141-21/+23
|
* Added command line argument parser.Gravatar Jimmi Holst Christensen2018-03-141-0/+332
* Zig crashes when trying to compile this code