Sha256: 78c87eb00405e4d36fe4e33f622338ac6e1e0aacb73704ed2d27e159926a7cdd
Contents?: true
Size: 348 Bytes
Versions: 2
Compression:
Stored size: 348 Bytes
Contents
require "thor" module SwissAdmin module Commands class Hardware < Thor namespace :hardware desc "cpus", "Number of cpu's" def cpus $stdout.puts SwissAdmin::Hardware.cpus end desc "memory", "memory for host" def memory print_table(SwissAdmin::Hardware.memory) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
swiss_admin-0.7.0 | lib/swiss_admin/cli/hardware_cli.rb |
swiss_admin-0.6.1 | lib/swiss_admin/cli/hardware_cli.rb |