chopin-cli 0.1.5

CLI scaffolding tool for the Chopin web framework
chopin-cli-0.1.5 is not a library.

๐ŸŽน Chopin CLI

Build status Crates.io Downloads License Rust GitHub stars

Scaffolding and code generation tool for the Chopin web framework.

The Chopin CLI helps you quickly bootstrap new Chopin projects with sensible defaults, generate boilerplate code, and manage database migrations.

Installation

cargo install chopin-cli

Quick Start

Create a new Chopin project:

chopin new my-app
cd my-app
cargo run

Commands

new โ€” Create a new project

chopin new my-project

Creates a new Chopin project with:

  • Configured Cargo.toml with all dependencies
  • Basic project structure (controllers, models, migrations)
  • Example auth endpoints (signup, login)
  • Development SQLite database
  • OpenAPI documentation setup

generate โ€” Generate boilerplate code

chopin generate controller users
chopin generate model user
chopin generate migration create_users_table

db โ€” Database management

chopin db migrate
chopin db reset

Features

  • โšก Zero-configuration project setup
  • ๐Ÿ“ฆ Workspace-ready structure
  • ๐Ÿ” Built-in authentication scaffolding
  • ๐Ÿ—„๏ธ Database migration helpers
  • ๐Ÿ“š OpenAPI documentation
  • ๐Ÿงช Testing utilities included

Documentation

For more information, see the main repository:

License

WTFPL (Do What The Fuck You Want To Public License)