Skip to content
项目

关于

Complete CLI Development Ecosystem for Bun

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Bunli

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.

Packages

Core

  • @bunli/core - Core framework with type-safe command definitions
  • @bunli/runtime - Prompt, spinner, and renderer runtime primitives
  • @bunli/tui - OpenTUI-backed components and hooks for TUI commands
  • @bunli/store - Typed file-backed persistence for CLI apps
  • @bunli/utils - Shared utilities (prompts, spinners, colors)
  • @bunli/test - Testing utilities for CLI applications
  • @bunli/generator - Generate TypeScript definitions from commands

CLI Tools

  • bunli - CLI toolchain for development and building
  • create-bunli - Scaffolding tool for new CLI projects

Plugins

Getting Started

# 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

Development

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

License

MIT

探索相关项目

加载中…