View Source mix merquery.generate (merquery v0.2.1)

Introspects on your project looking at all routes and generates a Merquery JSON file that you can load into a Merquery Smart Cell.

Currently only supports Phoenix Routers.

Options

  • --router - The module of your router. Defaults to the default Phoenix Router.
  • --out - Path to save the generated file. Defaults to merquery.json
  • --base-url - Base URL to append to all generated routes. Defaults to https://0.0.0.0