lib/phoenix-cli/cli.rb in phoenix-cli-0.0.1 vs lib/phoenix-cli/cli.rb in phoenix-cli-0.0.2
- old
+ new
@@ -22,9 +22,19 @@
desc "server", "Create new project"
def server
exec("mix phoenix.server")
end
+ desc "deps", "Install dependences"
+ def deps
+ exec("mix deps.get")
+ end
+
+ desc "console", "Run phoenix console"
+ def console
+ exec("iex -S mix")
+ end
+
desc 'version', 'phoenix-cli version'
def version
puts PhoenixCli::VERSION
end
end