Class: Elb::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/elb/cli.rb,
lib/elb/cli/help.rb

Defined Under Namespace

Classes: Help

Instance Method Summary collapse

Instance Method Details

#deregisterObject



21
22
23
# File 'lib/elb/cli.rb', line 21

def deregister
  Deploy.new(options.merge(:wait => 0)).deregister
end

#registerObject



26
27
28
# File 'lib/elb/cli.rb', line 26

def register
  Deploy.new(options).register
end

#restartObject



16
17
18
# File 'lib/elb/cli.rb', line 16

def restart
  Deploy.new(options).run
end