View Source mix ash_phoenix.gen.live (ash_phoenix v1.2.22)

Generates liveviews for a given api and resource.

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

positional-arguments

Positional Arguments

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

options

Options

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

For example:

mix ash_phoenix.gen.live ExistingApiName ExistingResourceName

Link to this section Summary

Functions

Callback implementation for Mix.Task.run/1.

Link to this section Functions

Callback implementation for Mix.Task.run/1.