Packages
Potionx project generator. Provides a `mix potionx.new` task to bootstrap a new Elixir application with Phoenix, Absinthe, Pow and Vue dependencies.
Current section
Files
Jump to
Current section
Files
lib/mix/tasks/local.phx.ex
defmodule Mix.Tasks.Local.Potionx do
use Mix.Task
@shortdoc "Updates the Potionx project generator locally"
@moduledoc """
Updates the Potionx project generator locally.
mix local.phx
Accepts the same command line options as `archive.install hex potionx_new`.
"""
def run(args) do
Mix.Task.run("archive.install", ["hex", "potionx_new" | args])
end
end