The Complete CLI Development Ecosystem for Bun
Bunli is a minimal, type-safe CLI framework designed specifically for Bun. It leverages Bun's unique features like the Bun Shell, fast startup times, and native TypeScript support to create efficient command-line tools that compile to standalone binaries.
- @bunli/core - Core framework with type-safe command definitions
- @bunli/utils - Shared utilities (prompts, spinners, colors)
- @bunli/test - Testing utilities for CLI applications
- bunli - CLI toolchain for development and building
- create-bunli - Scaffolding tool for new CLI projects
- @bunli/plugin-ai-detect - Detect AI coding assistants
- @bunli/plugin-config - Configuration file loading and merging
# Install Bunli CLI globally
bun add -g bunli
# Create a new CLI project
bunx create-bunli my-cli
# Start development
cd my-cli
bunli dev
This is a monorepo managed with Bun workspaces.
# Install dependencies
bun install
# Build all packages
bun run build
# Run tests
bun test
# Start development
bun run dev
MIT