Skip to content

Commit

Permalink
The cli can fly to pie
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Feb 25, 2011
1 parent 967f7bb commit 3665750
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions cli
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,16 @@ class App
# ---------------------------------------------------------------------------
# Deploy

# Deploy
def deploy(base,*args)
args.each do |branch|
checkout(branch)
merge(base)
end

push
end

# Deploy the Changes From Master to Version + Dev
def deploy_from_master
version
Expand Down Expand Up @@ -619,19 +629,10 @@ class Booter
abort("Unknown command: #{command}")
end

case args.length
when 0
app.send(command)
when 1
app.send(command,args[0])
when 2
app.send(command,args[0],args[1])
when 3
app.send(command,args[0],args[1],args[2])
when 4
app.send(command,args[0],args[1],args[2],args[3])
else
app.send(command,args)
if args.length === 0
app.send(command)
else
app.send(command,*args)
end
end

Expand Down

0 comments on commit 3665750

Please sign in to comment.