zig-clap icon indicating copy to clipboard operation
zig-clap copied to clipboard

Simple command line argument parsing library

Results 8 zig-clap issues
Sort by recently updated
recently updated
newest added

Taking a checkout of master (commit ac5f465) and running `zig build` results in the following error: ``` ./clap.zig:913:19: error: default_value of field 'help' is of type '*const bool', expected 'bool'...

Currently, the width is just counted as bytes, but it should at least count unicode characters (mostly, so it can be correctly rendered to a tty)

Hi i am new to zig and i would like to use this library for my project. But I don't see any install instructions on README so idk how can...

I'd like to parse something like `--mode x[@Hz]`. To my from my current understanding this is not possible. I intended to write it as follows: ```zig const params = comptime...

The following code: ```zig var gpa = std.heap.GeneralPurposeAllocator(.{}){}; defer std.debug.assert(gpa.deinit() == .ok); var alloc = gpa.allocator(); const params = comptime clap.parseParamsComptime( \\-h Display this help. \\ The host to connect...

https://github.com/Hejsil/zig-clap/pull/97#issuecomment-1592545848 > For example ` ...` will make the `positionals` field in the result be `[]const u32`, ignoring that the other positional parameter specified `string`.

Hi there, Great job with this library so far! I'm missing `required` parameter functionality. Would it make sense for you to add it ? I see that we could (in...