#markdown #dynamic #string #cli-parser #tiny #curl

bin+lib minicli

A tiny, dynamic CLI parser driven by simple string definitions or markdown files

1 unstable release

0.1.0 Jul 13, 2025

#25 in #tiny

MIT/Apache

6KB
86 lines

🟢 MiniCLI

MiniCLI is a tiny, easy-to-understand Rust library for building simple command-line interfaces from a single string or a Markdown (cli.md) file.

No macros. No huge config. Just write your CLI definition as text — and focus on your logic.


✨ Features

✅ Define commands & flags using a simple string
✅ Supports dynamic .md files (no rebuild needed)
✅ Required & optional arguments
✅ Clean, pretty colored output
✅ Works well with shell tools like curl
✅ Tiny, fast — no dependencies other than colored


📦 Install

Add this to your Cargo.toml:

[dependencies]
minicli = "0.1.0" # (after you publish)
colored = "2"

Dependencies

~2–13MB
~101K SLoC