Sha256: fc4015fb3b5f5caafd9e9600a3740bc2d6e9a6c0ef6ce41eff18160125373ec9
Contents?: true
Size: 614 Bytes
Versions: 3
Compression:
Stored size: 614 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 Solusvm::General.new(api_params) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
solusvm-1.4.0 | lib/solusvm/cli/general_cli.rb |
solusvm-1.3.1 | lib/solusvm/cli/general_cli.rb |
solusvm-1.3.0 | lib/solusvm/cli/general_cli.rb |