mix ash_phoenix.gen.html (ash_phoenix v2.3.20)

Copy Markdown View Source

This task renders .ex and .heex templates and copies them to specified directories.

Positional Arguments

  • domain - The domain (e.g. "Shop").
  • resource - The resource (e.g. "Product").

Options

  • --resource-plural - The plural resource name (e.g. "products")
  • --resource-plural-for-routes - Override the plural name used in route paths (e.g. "random-things"). Useful when the route prefix contains dashes.
mix ash_phoenix.gen.html MyApp.Shop MyApp.Shop.Product --resource-plural products

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(args)

Callback implementation for Mix.Task.run/1.