<aside> 🐟

ZFish — Ultra‑light zero‑dependency CLI framework for Rust

v0.1.10 • License: MIT

</aside>

Quick stats

Links


Philosophy & goals


Feature status

<aside> ✅

Implemented in v0.1.x

<aside> 🆕

New in v0.1.10: Tables, Subcommands, and Auto‑help are now available. These were not supported in v0.1.8.

</aside>

</aside>

Feature Status Module Description
ANSI Colors style 16 basic colors + bright variants
256‑Color Palette style Custom(u8) 0–255
Text Styling style Bold, Dim, Italic, Underline, Blink, Reverse, Hidden
Basic Args Parser args Short/long flags, options, positionals
Advanced Command System command Subcommands, validation, defaults, env, requires/conflicts, auto‑help
Progress Bars progress Styles, width, ETA, set/inc/finish
Tables table Box styles, alignment, Unicode width
Interactive Prompts prompt Text, confirm, password (Unix/Windows)
Logging log Structured, levels, colors, timestamps, filtering
Terminal Control term Clear, cursor, size, print at position
Unicode & i18n unicode Display width, CJK, emoji, zero‑width
Platform Support os/* Linux, macOS, Windows
Documentation site 33+ pages, components, examples, API, themes

In progress / experimental

Planned features by version

Not planned / out of scope


Performance targets

Metric Target Status
Cold start time < 5ms ✅ Achieved
Argument parsing (1M flags) < 300ms ✅ 200ms on Ryzen 3600
Binary size (stripped) < 500KB ✅ Achieved
Memory usage < 5MB ✅ Achieved
Zero dependencies 0 deps ✅ Achieved
Compile time < 10s ✅ Achieved