Class: Aly::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/aly/cli.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.main(args) ⇒ Object



31
32
33
# File 'lib/aly/cli.rb', line 31

def main(args)
  start(args)
end

Instance Method Details

#ecs(query = nil) ⇒ Object



11
12
13
# File 'lib/aly/cli.rb', line 11

def ecs(query = nil)
  App.new.start(options: options, command: :ecs, args: [query])
end

#eip(query = nil) ⇒ Object



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

def eip(query = nil)
  App.new.start(options: options, command: :eip, args: [query])
end

#show(host = nil) ⇒ Object



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

def show(host = nil)
  App.new.start(options: options, command: :show, args: [host])
end

#slb(query = nil) ⇒ Object



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

def slb(query = nil)
  App.new.start(options: options, command: :slb, args: [query])
end