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

Generates liveviews for a given api and resource.

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

Positional Arguments

  • api - The API (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 ExistingApiName ExistingResourceName

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

Callback implementation for Mix.Task.run/1.