parg
Lightweight argument parser for Zig (by judofyr)
zig-arg
Command line argument parser for zig which support flags, subcommand and nested subcommands out of the box. [Moved to: https://github.com/PrajwalCH/yazap] (by PrajwalCH)
parg | zig-arg | |
---|---|---|
4 | 4 | |
35 | 47 | |
- | - | |
4.7 | 8.5 | |
3 months ago | over 1 year ago | |
Zig | Zig | |
BSD Zero Clause License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
parg
Posts with mentions or reviews of parg.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-15.
-
GitHub - PrajwalCH/zig-arg: Arg parser library for zig that supports both subcommand and flag
May I use the time to plug my lightweight flag parsing library called parg?
-
parg: Lightweight argument parser
Aaah, that's a very good point. Inspired by this comment I made a slight tweak so that it returns returns the same type for both short and long flags: https://github.com/judofyr/parg/pull/1. Honestly it looks much better!
zig-arg
Posts with mentions or reviews of zig-arg.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-15.
- Zig-arg: New command line parser for Zig programming language
-
Zig monthly, April 2022: OS interop, Graphics, WebAssembly, Talks, Wren language & more
Yo thanks for including zig-arg
-
GitHub - PrajwalCH/zig-arg: Arg parser library for zig that supports both subcommand and flag
Looks great! I noticed that "chaining multiple short flags" was still a pending TODO item. May I use the time to plug my lightweight flag parsing library called parg? The intention of the library was the implement the low-level parts of an argument parser (it basically implements a similar thing to https://github.com/PrajwalCH/zig-arg/blob/master/src/ArgvIterator.zig) so that it can be re-used by higher-level tools like yours. This already handles the chaining logic — which was a bit finicky to implement.