99[ ![ Tests] ( https://img.shields.io/github/actions/workflow/status/habedi/chilli/tests.yml?label=tests&style=flat&labelColor=282c34&logo=github )] ( https://github.com/habedi/chilli/actions/workflows/tests.yml )
1010[ ![ CodeFactor] ( https://img.shields.io/codefactor/grade/github/habedi/chilli?label=code%20quality&style=flat&labelColor=282c34&logo=codefactor )] ( https://www.codefactor.io/repository/github/habedi/chilli )
1111[ ![ Zig Version] ( https://img.shields.io/badge/Zig-0.14.1-orange?logo=zig&labelColor=282c34 )] ( https://ziglang.org/download/ )
12- [ ![ License] ( https://img.shields.io/badge/license-MIT-007ec6?label=license&style=flat&labelColor=282c34&logo=open-source-initiative )] ( https://github.com/habedi/chilli/blob/main/LICENSE )
12+ [ ![ Docs] ( https://img.shields.io/github/v/tag/habedi/chilli?label=docs&color=blue&style=flat&labelColor=282c34&logo=read-the-docs )] ( https://habedi.github.io/chilli/ )
13+ [ ![ Examples] ( https://img.shields.io/github/v/tag/habedi/chilli?label=examples&color=green&style=flat&labelColor=282c34&logo=zig )] ( https://github.com/habedi/chilli/tree/main/examples )
1314[ ![ Release] ( https://img.shields.io/github/release/habedi/chilli.svg?label=release&style=flat&labelColor=282c34&logo=github )] ( https://github.com/habedi/chilli/releases/latest )
15+ [ ![ License] ( https://img.shields.io/badge/license-MIT-007ec6?label=license&style=flat&labelColor=282c34&logo=open-source-initiative )] ( https://github.com/habedi/chilli/blob/main/LICENSE )
1416
1517A microframework for creating command-line applications in Zig
1618
@@ -31,11 +33,6 @@ while being small and fast, and not getting in the way of your application logic
3133- Uses a shared context to pass application state
3234- Written in pure Zig with no external dependencies
3335
34- > [ !IMPORTANT]
35- > Chilli is in early development and is not yet ready for serious use.
36- > The API is not stable and may change without notice.
37- > Please use the [ issues page] ( https://github.com/habedi/chilli/issues ) to report bugs or request features.
38-
3936---
4037
4138### Getting Started
@@ -143,22 +140,20 @@ pub fn main() anyerror!void {
143140
144141### Documentation
145142
146- You can use the ` make docs ` command to generate the API documentation for Chilli.
143+ You can find the full API documentation for the latest release of Chilli [ here] ( https://habedi.github.io/chilli/ ) .
144+
145+ Alternatively, you can use the ` make docs ` command to generate the API documentation for the current version of Chilli
146+ from the source code.
147147This will generate HTML documentation in the ` docs/api ` directory, which you can serve locally with ` make serve-docs `
148- and view in your web browser at ` http://localhost:8000/index.html ` .
148+ and view in your web browser at [ http://localhost:8000 ] ( http://localhost:8000 ) .
149+
150+ > [ !NOTE]
151+ > To generate the documentation, you need to have Zig (version 0.14.1) and Python 3 installed on your system.
149152
150153### Examples
151154
152- | ** #** | ** File** | ** Description** |
153- | -------| -----------------------------------------------------------| --------------------------------------------------------------------------|
154- | 1 | [ e1_simple_cli.zig] ( examples/e1_simple_cli.zig ) | A simple CLI application that shows basic command and flag parsing |
155- | 2 | [ e2_nested_commands.zig] ( examples/e2_nested_commands.zig ) | A CLI application with nested commands and subcommands |
156- | 3 | [ e3_help_output.zig] ( examples/e3_help_output.zig ) | An example that demonstrates automatic help output and usage information |
157- | 4 | [ e4_custom_sections.zig] ( examples/e4_custom_sections.zig ) | An example that demonstrates grouping subcommands into custom sections |
158- | 5 | [ e5_advanced_cli.zig] ( examples/e5_advanced_cli.zig ) | An example that combines multiple features of Chilli |
159- | 6 | [ e6_file_downloader.zig] ( examples/e6_file_downloader.zig ) | A CLI application that downloads files from the internet |
160- | 7 | [ e7_calculator.zig] ( examples/e7_calculator.zig ) | A simple calculator CLI that supports basic arithmetic operations |
161- | 8 | [ e8_flags_and_args.zig] ( examples/e8_flags_and_args.zig ) | Example shows how to use flags and positional arguments in commands |
155+ Check out the [ examples] ( examples/README.md ) directory for examples of how Chilli can be used to build a variety of CLI
156+ applications.
162157
163158### Feature Roadmap
164159
@@ -195,7 +190,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to make a contribution
195190
196191### License
197192
198- Chilli is licensed under the MIT License ([ LICENSE] ( LICENSE ) ).
193+ Chilli is licensed under the MIT License (see [ LICENSE] ( LICENSE ) ).
199194
200195### Acknowledgements
201196
0 commit comments