Show HN: Chilli – A lightweight microframework for CLIs in Zig

I've made an open-source microframework for creating command-line (CLI) applications in the Zig programming language.

It's called Chilli, and it currently provides the following features:

- A declarative API for defining nested commands, flags, and positional arguments.

- Type-safe parsing of arguments from the command line and environment variables.

- Automatic generation of formatted `--help` and `--version` output.

- Support for command aliases, persistent flags, and other common CLI patterns.

You can find the project on GitHub: https://github.com/habedi/chilli

7 points | by habedi0 23 hours ago

0 comments