lib/aly/cli.rb in aly-0.1.3 vs lib/aly/cli.rb in aly-0.2.0

- old
+ new

@@ -18,9 +18,14 @@ desc 'slb', 'get SLB information' def slb(query = nil) App.new.start(options: options, command: :slb, args: [query]) end + desc 'show', 'show resource information of host' + def show(host = nil) + App.new.start(options: options, command: :show, args: [host]) + end + class << self def main(args) start(args) end end