Sha256: 681ac303e4ccf775c33f4bb17dd7f354eeca18792f0157ec8fbc1a33422a0078
Contents?: true
Size: 590 Bytes
Versions: 6
Compression:
Stored size: 590 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 ||= SolusVM::General.new(api_params) end end end
Version data entries
6 entries across 6 versions & 1 rubygems