What problem does it solve?
This Skill streamlines administrative and operational tasks in JasperFx-powered Cab services, eliminating the need for manual interventions by automating schema management, code generation, diagnostics, and resource lifecycle management.
Core Features & Use Cases
- Schema Management: Execute schema migration commands (e.g., db-apply, db-assert, db-patch) for Weasel-based databases.
- CLI Diagnostics: Use Wolverine diagnostics commands (e.g., wolverine-diagnostics) to audit service configuration, route messages, and view projections.
- Resource Management: Setup, teardown, and check resources (e.g., Marten/Polecat stores, Wolverine envelopes) and code generation tasks (e.g., codegen preview, write, delete, test).
- Use Case: Imagine you need to verify the database schema in a Cab service is up to date with the current codebase. You can use the 'db-assert' command to confirm there is no drift, thus avoiding deployment issues.
Quick Start
Apply pending schema migrations to a Cab service's database with the command: 'dotnet run --project src/CritterCab.Trips -- db-apply'.