Sha256: 56804352bf89fac0b5af174f6b3e79c4396b242e77b8e1929c4a731c8d383f79
Contents?: true
Size: 388 Bytes
Versions: 14
Compression:
Stored size: 388 Bytes
Contents
module Brightbox desc 'List CloudIPs' arg_name '[cloudip-id...]' command [:list] do |c| c.action do |global_options,options,args| if args.empty? ips = CloudIP.find(:all) else ips = CloudIP.find_or_call(args) do |id| warn "Couldn't find cloud ip #{id}" end end render_table(ips.sort, global_options) end end end
Version data entries
14 entries across 14 versions & 2 rubygems