View Source mix ash_phoenix.gen.live (ash_phoenix v2.1.17)

Generates liveviews for a given domain and resource.

The domain and resource must already exist, this task does not define them.

Example

mix ash_phoenix.gen.live --domain MyApp.Shop --resource MyApp.Shop.Product --resourceplural products

Options

  • --domain - Existing domain
  • --resource - Existing resource module name
  • --resource-plural - Pluralized version resource name for the route paths and templates

Summary

Functions

igniter(igniter, argv)

Callback implementation for Igniter.Mix.Task.igniter/2.