Removes Ectomancer configuration from your Phoenix/Ecto project.
This Mix task provides an interactive workflow to undo what mix ectomancer.setup
does. It removes the generated MCP module, dependency, configuration entries,
and router route.
Usage
mix ectomancer.teardownWorkflow
- Detects app name from mix.exs
- Prompts for confirmation before making changes
- Removes the generated MCP module (if it exists)
- Removes Ectomancer dependency from mix.exs
- Removes Ectomancer config from config/config.exs
- Removes Ectomancer Plug route from router
- Prints summary of what was removed
Return Codes
0- Success (everything cleaned up)1- Nothing to clean up2- Operation cancelled by user3- File operation error