Sha256: 9dfd52bd6fa22f5a4fc2b1c21269fc7c2135191c42e5f6818980032449bdebfb
Contents?: true
Size: 470 Bytes
Versions: 3
Compression:
Stored size: 470 Bytes
Contents
module Smartdc::Cli class Package < Thor include Smartdc::CliHelper desc 'list', 'Provides a list of packages available in this datacenter.' def list output Smartdc.packages, options.merge(table: :horizontal, include: %i[ id name version memory disk vcpus group ]) end desc 'show [NAME]', 'Gets a package by name or id.' def show(name) output Smartdc.package(name), options.merge(table: :vertical) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
smartdc-2.0.2 | lib/smartdc/cli/package.rb |
smartdc-2.0.1 | lib/smartdc/cli/package.rb |
smartdc-2.0.0 | lib/smartdc/cli/package.rb |