ruprizzle-cli 1.5.1

Command-line interface for the ruprizzle ORM
Documentation

ruprizzle-cli

Crates.io docs.rs License

Command-line interface for ruprizzle-orm.

ruprizzle-cli is the entry point for working with ruprizzle-orm outside of Rust code. It parses the schema.ruprizzle file, generates typed clients, introspects existing databases, validates schemas, and runs migrations against Postgres, MySQL/MariaDB, or SQLite.

Commands

  • ruprizzle init — scaffold a new project with a schema, .env, and migrations directory.
  • ruprizzle generate — parse the schema and emit the generated Rust client.
  • ruprizzle validate — parse and validate the schema without writing files; useful in CI.
  • ruprizzle format — rewrite the schema file in canonical form.
  • ruprizzle migrate — plan, apply, inspect, and squash schema migrations.
  • ruprizzle db pull — introspect an existing database into schema.ruprizzle.
  • ruprizzle db seed — transactionally apply idempotent rows from seeds/main.json.
  • ruprizzle db push — push schema changes directly without migration files.

Installation

cargo install ruprizzle-cli --version 1.0.0-rc.1
ruprizzle --help

Quick start

ruprizzle init --provider sqlite
ruprizzle generate
ruprizzle migrate dev

See the project homepage for the full guide.

Keywords

orm, sql, database, cli, migrations