mix combo.routes (combo v0.8.0)

View Source

Prints all routes for a given router.

$ mix combo.routes ROUTER

Examples

Print all routes for the given router:

$ mix combo.routes MyApp.Web.Router

If you find it annoying to specify the router every time, add an alias to mix.exs:

defp aliases do
  [
    "combo.routes": "combo.routes MyApp.Web.Router",
    # ...
  ]
end