Sha256: 26a3ff5ceaa41b352383f33e3fa3a4b85cad48d4ff92fb177199da7d154c938d
Contents?: true
Size: 325 Bytes
Versions: 7
Compression:
Stored size: 325 Bytes
Contents
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
Version data entries
7 entries across 7 versions & 1 rubygems