GitHub - xcaeser/zli: 📟 Zig command-line interfaces made easy. A blazing fast CLI framework. Build ergonomic, high-performance command-line tools with ease.
📟 zli
A blazing-fast, zero-cost CLI framework for Zig. The last one you will ever use.
Build modular, ergonomic, and high-performance CLIs with ease.
All batteries included.
🧱 Each command is modular and self-contained.
inspired by Cobra (Go) and clap (Rust).
📚 Documentation
See docs.md for full usage, examples, and internals.
🚀 Highlights
Modular commands & subcommands
Fast flag parsing (--flag, --flag=value, shorthand -abc)
Type-safe support for bool, int, string
Named positional arguments...
Read more at github.com