Skip to content
Projets

À propos

Un framework CLI TypeScript doté de modules composables, conçu pour les personnes et les agents.

Outils de développement

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Crust logo
Crust

A TypeScript CLI framework with composable modules for humans and agents.

license stars

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?

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 npm downloads
@crustjs/core Define, parse, route, and run type-safe CLI commands with Contexts and Extensions npm downloads
@crustjs/man Generate mdoc(7) manual pages from Crust command definitions npm downloads
@crustjs/testing Test helpers for Crust CLIs with captured output and fake interactive terminals npm downloads
@crustjs/extensions Official Crust Extensions for help, version, typo hints, color, and updates npm downloads
@crustjs/completion Shell completion scripts for bash, zsh, fish, and PowerShell from Crust command definitions npm downloads
@crustjs/style Terminal styling, colors, hyperlinks, and ANSI-aware text layout npm downloads
@crustjs/progress Spinners and determinate progress indicators for terminal tasks npm downloads
@crustjs/prompts Interactive input, password, confirm, select, and filter prompts for the terminal npm downloads
@crustjs/tui Bun-only OpenTUI renderer adapter for Crust Command Actions npm downloads
@crustjs/effect Effect.ts v4 adapter for Crust Command Actions, Contexts, and errors npm downloads
@crustjs/env Typed, validated environment variables as a Crust Context, documented in help and man pages npm downloads
@crustjs/config A CLI's settings, defined once, read from config files into typed Crust flags npm downloads
@crustjs/store Typed JSON persistence for CLI config, data, state, and cache files npm downloads
@crustjs/skills Generate and install agent skills for AI coding assistants from Crust commands npm downloads
@crustjs/mcp Serve a Crust CLI as MCP tools over stdio npm downloads
@crustjs/openapi Commands, a typed client and an api command from a CLI's pinned OpenAPI spec npm downloads
@crustjs/auth OAuth sign-in for CLIs: browser and device-code login, plus the OAuth building blocks npm downloads
@crustjs/create Headless scaffolding engine for building project generators npm downloads
create-crust Scaffold a new Crust CLI project for Bun or Node.js npm downloads

Explorer des projets similaires

Chargement…