summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Finished the first draft of the coreGravatar Jimmi Holst Christensen2018-05-191-22/+175
| | | | * It haven't been tested yet
* Started work one a simpler core apiGravatar Jimmi HC2018-05-181-0/+78
| | | | | * This api will then be used to recreate the current api * Users who don't want the complicate api can also use the simpler one
* Short args can now take values directly after the argGravatar Jimmi Holst Christensen2018-04-273-10/+23
| | | | * closes #5
* Added the ability to have argument have indexsGravatar Jimmi Holst Christensen2018-04-271-48/+81
|
* Fixed testGravatar Jimmi Holst Christensen2018-04-261-1/+1
|
* Removed breakpoints and fixed a testGravatar Jimmi Holst Christensen2018-04-261-10/+5
|
* Added updated example and READMEGravatar Jimmi Holst Christensen2018-04-262-93/+90
|
* 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
|
* Merge branch 'master' of github.com:Hejsil/zig-clapGravatar Jimmi Holst Christensen2018-03-221-0/+98
|\
| * Create README.mdGravatar Jimmi Holst Christensen2018-03-211-0/+98
| |
* | 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-202-11/+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-142-47/+64
| | | | 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-143-0/+342
| | | | * Zig crashes when trying to compile this code
* Initial commitGravatar Jimmi Holst Christensen2018-03-141-0/+24