Class: Smartdc::Cli::Image
Instance Method Summary
collapse
#describe, #horizontal, #output, #use_machine, #vertical
Instance Method Details
#list ⇒ Object
6
7
8
9
10
|
# File 'lib/smartdc/cli/image.rb', line 6
def list
output Smartdc.images, options.merge(table: :horizontal, include: %i[
id name version type os
])
end
|
#show(id) ⇒ Object
13
14
15
16
17
|
# File 'lib/smartdc/cli/image.rb', line 13
def show(id)
output Smartdc.image(id), options.merge(table: :vertical, exclude: %i[
description files
])
end
|