Mix.Tasks.Phoenix.New

Creates a new Phoenix project. It expects the path of the project as argument.

mix phoenix.new PATH [--module MODULE] [--app APP]

A project at the given PATH will be created. The application name and module name will be retrieved from the path, unless --module or --app is given.

Options

Examples

mix phoenix.new hello_world

Is equivalent to:

mix phoenix.new hello_world --module HelloWorld

Without brunch:

mix phoenix.new ~/Workspace/hello_world --no-brunch
Source

Summary

run(argv)

Callback implementation of Mix.Task.run/1

run(app, mod, path, opts)

Functions

run(argv)

Callback implementation of Mix.Task.run/1.

Source
run(app, mod, path, opts)
Source