Sha256: 85862de2592e31712b2242406efe91d9f613945adf9250188776531ba6997e19
Contents?: true
Size: 443 Bytes
Versions: 10
Compression:
Stored size: 443 Bytes
Contents
module Brightbox desc 'Show detailed server info' arg_name 'server-id...' command [:show] do |c| c.action do |global_options,options,args| raise "You must specify servers to show" if args.empty? servers = DetailedServer.find_or_call(args) do |id| raise "Couldn't find server #{id}" end table_opts = global_options.merge(:vertical => true) render_table(servers, table_opts) end end end
Version data entries
10 entries across 10 versions & 1 rubygems