Sha256: 8d243e741268ffb1ac06a4e935ac6369fa4c9f8405de6b0ff24ec310ee02b854
Contents?: true
Size: 619 Bytes
Versions: 4
Compression:
Stored size: 619 Bytes
Contents
module Solusvm class GeneralCli < BaseCli desc "templates TYPE", "Lists existing templates for a given type [openvz|xen|xen hvm|kvm]" def templates(type) output api.templates(type) end desc "plans TYPE", "Lists existing plans for a given type [openvz|xen|xen hvm|kvm]" def plans(type) output api.plans(type) end desc "isos TYPE", "Lists existing isos for a given type [openvz|xen|xen hvm|kvm]" def isos(type) output api.isos(type) end private def api @general ||= begin configure Solusvm::General.new end end end end
Version data entries
4 entries across 4 versions & 1 rubygems