mirror of
https://github.com/ash-project/ash_phoenix.git
synced 2024-09-20 07:12:49 +12:00
docs: add small example
This commit is contained in:
parent
0a1dfb7f92
commit
89f1a20afb
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue