Expand description
Migration CLI command for checking and applying config/file migrations.
Responsibilities:
- Provide CLI interface for migration operations (check, list, apply).
- Display migration status to users in a readable format.
- Handle user confirmation for destructive operations.
Not handled here:
- Migration implementation logic (see
crate::migration). - Migration history persistence (see
crate::migration::history).
Invariants/assumptions:
- Requires a valid Ralph project (with .ralph directory).
--applyrequires explicit user action (not automatic).- Exit code 1 from
--checkwhen migrations are pending for CI integration.
Structs§
Enums§
Functions§
- handle_
migrate - Handle the migrate command.