Sha256: e10c4b2e599caa72422bac89af784fca7990829d4a8065fb9efc775afba06615
Contents?: true
Size: 368 Bytes
Versions: 16
Compression:
Stored size: 368 Bytes
Contents
class Domain < CloudstackCli::Base desc 'list [NAME]', 'list domains' def list(name = nil) domains = client.list_domains(name) if domains.size < 1 puts "No domains found." else table = [["Name", "Path"]] domains.each do |domain| table << [domain['name'], domain['path']] end print_table table end end end
Version data entries
16 entries across 16 versions & 1 rubygems