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

Generates liveviews for a given domain and resource.

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

Positional Arguments

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

Options

  • --resource-plural - The plural resource name (e.g. "products")

For example:

mix ash_phoenix.gen.live ExistingDomainName ExistingResourceName

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

Callback implementation for Mix.Task.run/1.