View Source mix dumper.gen (Dumper v0.1.1)

The Dumper uses reflection to find all your app's ecto schemas, and then provide routes to browse their data. This mix task generates the controller and components necessary to do that.

Once run, follow the on-screen instructions to add dumper routes to your router. From there, you can customize all aspects of the dumper.

Example

$ mix dumper.gen

Requirements

  • Ecto
  • Ability to call use *_web, :controller.
    • This is included in most phoenix apps by default

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

Callback implementation for Mix.Task.run/1.