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
fakerandsetup. - 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.