chenxin-yan/crust
소개
사람과 에이전트를 위한, 조합 가능한 모듈을 갖춘 TypeScript CLI 프레임워크입니다.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Crust
A TypeScript CLI framework with composable modules for humans and agents.
Website & Docs • Contributing • Issues • Discord
What is Crust?
Crust is a TypeScript CLI framework for humans and agents. Define a command once with full type inference, and it runs as a CLI, packages as an agent skill, and can be exposed over MCP. Composable modules add prompts, progress, TUI, styling, persistence, man pages, and testing helpers as you need them. It runs on Bun and Node.js, with native Bun integrations. Its defaults follow the modern best practices in the Command Line Interface Guidelines, so a CLI built with Crust behaves the way people expect from the tools they already use.
Who uses Crust?
- gyst
- Nia by Nozomio Labs
Getting Started
Bun
bun create crust@latest my-cli
cd my-cli
bun run dev
npm
npm create crust@latest my-cli
cd my-cli
npm run dev
pnpm
pnpm create crust@latest my-cli
cd my-cli
pnpm run dev
Yarn (2+)
yarn dlx create-crust@latest my-cli
cd my-cli
yarn run dev
Packages
| Package | Description | Version | Downloads |
|---|---|---|---|
@crustjs/crust |
CLI to build and publish Crust apps as npm packages or standalone binaries | ||
@crustjs/core |
Define, parse, route, and run type-safe CLI commands with Contexts and Extensions | ||
@crustjs/man |
Generate mdoc(7) manual pages from Crust command definitions | ||
@crustjs/testing |
Test helpers for Crust CLIs with captured output and fake interactive terminals | ||
@crustjs/extensions |
Official Crust Extensions for help, version, typo hints, color, and updates | ||
@crustjs/completion |
Shell completion scripts for bash, zsh, fish, and PowerShell from Crust command definitions | ||
@crustjs/style |
Terminal styling, colors, hyperlinks, and ANSI-aware text layout | ||
@crustjs/progress |
Spinners and determinate progress indicators for terminal tasks | ||
@crustjs/prompts |
Interactive input, password, confirm, select, and filter prompts for the terminal | ||
@crustjs/tui |
Bun-only OpenTUI renderer adapter for Crust Command Actions | ||
@crustjs/effect |
Effect.ts v4 adapter for Crust Command Actions, Contexts, and errors | ||
@crustjs/env |
Typed, validated environment variables as a Crust Context, documented in help and man pages | ||
@crustjs/config |
A CLI's settings, defined once, read from config files into typed Crust flags | ||
@crustjs/store |
Typed JSON persistence for CLI config, data, state, and cache files | ||
@crustjs/skills |
Generate and install agent skills for AI coding assistants from Crust commands | ||
@crustjs/mcp |
Serve a Crust CLI as MCP tools over stdio | ||
@crustjs/openapi |
Commands, a typed client and an api command from a CLI's pinned OpenAPI spec | ||
@crustjs/auth |
OAuth sign-in for CLIs: browser and device-code login, plus the OAuth building blocks | ||
@crustjs/create |
Headless scaffolding engine for building project generators | ||
create-crust |
Scaffold a new Crust CLI project for Bun or Node.js |
관련 프로젝트 살펴보기
불러오는 중…