I built zli, a batteries-included CLI framework for Zig with a focus on DX and composability.
Key features:
- Typed flags with default values and help output
- Rich formatting, and layout support
- Command trees with isolated execution logic
- It’s designed to feel good to use, not just to work.
- Built for real-world CLI apps, not toy examples.
Would love feedback, feature ideas, or thoughts from other Zig devs.
repo here: https://github.com/xcaeser/zli
Or even better - fully lean into comptime and generate a struct so you can use field access without specifying a type: