docs: add small example

This commit is contained in:
Zach Daniel 2023-10-09 16:05:17 -04:00
parent 0a1dfb7f92
commit 89f1a20afb

View file

@ -1,6 +1,14 @@
defmodule Mix.Tasks.AshPhoenix.Gen.Live do
@moduledoc """
Generates liveviews for a resource
Generates liveviews for a given api and resource.
The api and resource must already exist, this task does not define them.
For example:
```bash
mix ash_phoenix.gen.live ExistingApiName ExistingResourceName
```
"""
use Mix.Task