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