Method: Appfront::Command::Deploys.attach

Defined in:
lib/appfront/command/deploys.rb

.attach(args, opts) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/appfront/command/deploys.rb', line 13

def self.attach(args, opts)
  find_deploy! opts
  spinner "Attaching deploy to cluster..." do
    api.post "/cluster/#{args[0]}/attach", deploy: @deploy
  end
  puts "\n"
end