Skip to content

Commit

Permalink
Add switches for :app, :module, and :database
Browse files Browse the repository at this point in the history
  • Loading branch information
scrogson committed Apr 21, 2015
1 parent ab49538 commit 95bc882
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion installer/lib/phoenix_new.ex
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ defmodule Mix.Tasks.Phoenix.New do
mix phoenix.new ~/Workspace/hello_world --no-brunch
"""
@switches [dev: :boolean, brunch: :boolean, ecto: :boolean]
@switches [dev: :boolean, brunch: :boolean, ecto: :boolean,
app: :string, module: :string, database: :string]

def run([version]) when version in ~w(-v --version) do
Mix.shell.info "Phoenix v#{@version}"
Expand Down

0 comments on commit 95bc882

Please sign in to comment.