Sha256: d9a2810a71120498a6da587c933952806f15396faa07e1ece316f6dba6080140
Contents?: true
Size: 384 Bytes
Versions: 3
Compression:
Stored size: 384 Bytes
Contents
module Smartdc::Cli class Datacenter < Thor include Smartdc::CliHelper desc 'list', 'Provides a list of all datacenters this cloud is aware of.' def list output Smartdc.datacenters, options.merge(table: :vertical) end desc 'show [NAME]', 'Gets an individual datacenter by name.' def show(name) output Smartdc.datacenter(name) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
smartdc-2.0.2 | lib/smartdc/cli/datacenter.rb |
smartdc-2.0.1 | lib/smartdc/cli/datacenter.rb |
smartdc-2.0.0 | lib/smartdc/cli/datacenter.rb |