Sha256: a2d375e3cd1b918e21427232be86d240514f6ec48519b111156de59767106c91
Contents?: true
Size: 404 Bytes
Versions: 2
Compression:
Stored size: 404 Bytes
Contents
require "thor" module SwissAdmin module Commands class Network < Thor namespace :network desc "ip_addresses", "All the ip addresses on this host" def ip_addresses $stdout.puts SwissAdmin::Network.ip_addresses end desc "first_ipv4", "First ipv4 interface" def first_ipv4 $stdout.puts SwissAdmin::Network.first_ipv4 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/network_cli.rb |
swiss_admin-0.6.1 | lib/swiss_admin/cli/network_cli.rb |