What problem does it solve?
Bunli eliminates the friction of building reliable command-line tools by providing a minimal, type-safe framework for Bun, so you can define commands, validate inputs, and ship interactive CLIs faster.
Core Features & Use Cases
- Type-safe command definitions with validation: Define commands and options with Zod-driven, properly coerced types so handlers receive correct flag values.
- Plugin architecture for extensibility: Add features like environment/AI detection, shell completions, config loading/merging, and MCP integration without rewriting your CLI core.
- Interactive CLI with prompts and spinners + Bunli TUI components: Build guided flows (prompts, spinners) and reusable terminal UI components (forms, tables, progress) backed by OpenTUI.
Quick Start
Use the bunli skill to create a new type-safe CLI by running "bunli init my-cli", then implement commands with defineCommand/option and run your app with bunli dev.