Phoenix v1.4.0-rc.1 mix phx.new.web View Source
Creates a new Phoenix web project within an umbrella project.
It expects the name of the otp app as the first argument and for the command to be run inside your umbrella application’s apps directory:
$ cd my_umbrella/apps
$ mix phx.new.web APP [--module MODULE] [--app APP]
This task is intended to create a bare Phoenix project without database integration, which interfaces with your greater umbrella application(s).
Examples
mix phx.new.web hello_web
Is equivalent to:
mix phx.new.web hello_web --module HelloWeb
Supports the same options as the phx.new task.
See Mix.Tasks.Phx.New for details.
Link to this section Summary
Link to this section Functions
A task needs to implement run which receives
a list of command line args.
Callback implementation for Mix.Task.run/1.