Sha256: ef5ce8765443432b2365f575b7dbde21a50a9c1187078ed450d3632537b382b8
Contents?: true
Size: 408 Bytes
Versions: 27
Compression:
Stored size: 408 Bytes
Contents
class Zone < CloudstackCli::Base desc "list", "list zones" def list zones = client.list_zones if zones.size < 1 puts "No projects found" else table = [%w(Name Network-Type Description)] zones.each do |zone| table << [ zone['name'], zone['networktype'], zone['description'] ] end end print_table(table) end end
Version data entries
27 entries across 27 versions & 1 rubygems