Skip to main content

Module commands

Module commands 

Source
Expand description

CLI command registration and dispatch.

Every command module owns exactly one file so later phases can edit their own scope without touching unrelated commands.

Modules§

db_lifecycle
Database lifecycle commands composed under midas db.
db_schema
Database schema commands composed under midas db.
doctor
Diagnostics for project and database state.
faker
midas faker — deterministic seed data for an existing database.
generate
Rust model generation from the schema DSL.
migrate
Migration and project commands.
migrate_dev
Schema-driven development migrations and offline diffs.
prepare
Offline SQLx metadata generation.
schema
Schema DSL commands.
seed_meta
Shared seed metadata resolution for faker and setup.
setup
midas setup — one-command development bootstrap.
source
Schema source selection shared by CLI commands.
sqlx
SQLx interoperability commands.

Structs§

Context
Runtime context shared by command handlers.

Functions§

dispatch
Dispatch a parsed subcommand.
register
Register every command group on the root command.