Sha256: 72e234dbb8ec8c875be5552c39a15e3b0de71c177a770ac4812bc08b57ed89f7
Contents?: true
Size: 318 Bytes
Versions: 2
Compression:
Stored size: 318 Bytes
Contents
class Zone < Thor desc "zone list", "list zones" def list cs_cli = CloudstackCli::Helper.new(options[:config]) zones = cs_cli.zones if zones.size < 1 puts "No projects found" else zones.each do |zone| puts "#{zone['name']} - #{zone['description']}" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cloudstack-cli-0.0.5 | lib/cloudstack-cli/commands/zone.rb |
cloudstack-cli-0.0.4 | lib/cloudstack-cli/commands/zone.rb |