Packages

Provides `mix needle.new.*` tasks to bootstrap new Phoenix projects.

Current section

Files

Jump to
needle_new lib mix tasks local.needle.ex
Raw

lib/mix/tasks/local.needle.ex

defmodule Mix.Tasks.Local.Needle do
use Mix.Task
@shortdoc "Updates needle_new locally"
@moduledoc """
Updates needle_new locally.
$ mix local.needle
It accepts the same command line options as `archive.install hex needle_new`.
"""
@impl true
def run(argv) do
Mix.Task.run("archive.install", ["hex", "needle_new" | argv])
end
end