Sha256: 76892b1bf26247a5331a3942386c96505e5cd1d4c28742c8bbe702574dd3f5a7
Contents?: true
Size: 396 Bytes
Versions: 12
Compression:
Stored size: 396 Bytes
Contents
class Project < CloudstackCli::Base desc "list", "list projects" def list projects = client.list_projects if projects.size < 1 puts "No projects found" else table = [["Name", "Displaytext", "Domain"]] projects.each do |project| table << [project['name'], project['displaytext'], project['domain']] end print_table(table) end end end
Version data entries
12 entries across 12 versions & 1 rubygems