bin/pave in pave-0.3.0 vs bin/pave in pave-0.4.0

- old
+ new

@@ -144,5 +144,23 @@ c.description = "Upload the project's local database and replace the live database." c.action do |args| say "`db:upload` command not implemented yet." end end + +command :"deploy" do |c| + c.syntax = "pave deploy" + c.description = "Deploy project to web server." + c.action do |args| + remote = args[0] || "production" + branch = args[1] || "master" + Pave::Deploy.new.deploy(remote, branch) + end +end + +command :"deploy:setup" do |c| + c.syntax = "pave deploy:setup" + c.description = "Setup deployment via git to web server." + c.action do + Pave::Deploy.new.setup + end +end