karbon-cli 0.2.8

Karbon — unified CLI for Rust + SvelteKit full-stack projects
karbon-cli-0.2.8 is not a library.

karbon-cli

Unified CLI for the Karbon full-stack Rust framework.

Install

cargo install karbon-cli

Commands

Command Description
karbon new <name> Create a new project (SvelteKit by default)
karbon new <name> --frontend nextjs Create a new project with Next.js
karbon dev Start dev servers (Rust + Vite, hot-reload)
karbon build Build for production
karbon serve Run production build (single port, reverse proxy)
karbon generate entity <Name> Generate entity + migration
karbon generate controller <Name> Generate admin controller
karbon generate crud <Name> Generate entity + repo + controller + migration
karbon g crud <Name> Short alias

Usage

# Create and start a new project

karbon new my-app

cd my-app

karbon dev


# Generate a full CRUD (entity + repo + controller + migration)

karbon g crud Post


# Build and serve in production

karbon build

karbon serve

Documentation

Full documentation: github.com/larevuegeek/karbon

License

AGPL-3.0-or-later — see LICENSE