Sha256: 235cc7189ac27eccd48d1a337be20d1ed2d472a145aa9d8296de740ab9035181
Contents?: true
Size: 488 Bytes
Versions: 17
Compression:
Stored size: 488 Bytes
Contents
module Brightbox command [:groups] do |cmd| cmd.desc I18n.t("groups.show.desc") cmd.arg_name "[grp-id..]" cmd.command [:show] do |c| c.action do |global_options, _options, args| raise "You must specify server groups to show" if args.empty? sgs = DetailedServerGroup.find_or_call(args) do |id| raise "Couldn't find server group #{id}" end render_table(sgs, global_options.merge(:vertical => true)) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems