defmodule Mix.Tasks.AshPhoenix.Gen.Live do @moduledoc """ 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 @shortdoc "Generates liveviews for a resource" def run(argv) do Mix.Task.run("compile") AshPhoenix.Gen.Live.generate_from_cli(argv) end end