GitHub - PrajwalCH/zig-arg: Arg parser library for zig that supports both subcommand and flag

This page summarizes the projects mentioned and recommended in the original post on /r/Zig

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • zig-arg

    Discontinued Command line argument parser for zig which support flags, subcommand and nested subcommands out of the box. [Moved to: https://github.com/PrajwalCH/yazap]

    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.

  • parg

    Lightweight argument parser for Zig

    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.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts