Class: Smartdc::Cli::Datacenter
- Inherits:
-
Thor
- Object
- Thor
- Smartdc::Cli::Datacenter
show all
- Includes:
- Smartdc::CliHelper
- Defined in:
- lib/smartdc/cli/datacenter.rb
Instance Method Summary
collapse
#describe, #horizontal, #output, #use_machine, #vertical
Instance Method Details
#list ⇒ Object
6
7
8
|
# File 'lib/smartdc/cli/datacenter.rb', line 6
def list
output Smartdc.datacenters, options.merge(table: :vertical)
end
|
#show(name) ⇒ Object
11
12
13
|
# File 'lib/smartdc/cli/datacenter.rb', line 11
def show(name)
output Smartdc.datacenter(name)
end
|