mix mailglass.gen.inbound_router (Mailglass v1.5.1)

Copy Markdown View Source

Scaffolds a new inbound router module.

The generated module declares use MailglassInbound.Router and a single sample route/2 so the file compiles and serves as a copy-edit starting point. Add real routes with mix mailglass.gen.inbound_route or by editing the file directly.

Examples

mix mailglass.gen.inbound_router InboundRouter
mix mailglass.gen.inbound_router MyApp.InboundRouter

--dry-run is supported as the framework-provided global switch (it is not in this task's option schema); it previews the diff and writes nothing.