Sha256: bedba682127d60bc70da8561447930978092f8d4e3dbcfff389c779b385acd58
Contents?: true
Size: 374 Bytes
Versions: 16
Compression:
Stored size: 374 Bytes
Contents
module Brightbox desc 'List users' arg_name '[user-id...]' command [:list] do |c| c.action do |global_options, options, args| if args.empty? users = User.find(:all) else users = User.find_or_call(args) do |id| warn "Couldn't find user #{id}" end end render_table(users, global_options) end end end
Version data entries
16 entries across 16 versions & 2 rubygems