Sha256: 30bd4812d772997dc337c131c80945c18c58d5e0a6f6506d0c95d3718ca4002e

Contents?: true

Size: 1.07 KB

Versions: 9

Compression:

Stored size: 1.07 KB

Contents

# This file was auto-generated by lib/tasks/web.rake

desc 'UsergroupsUsers methods.'
command 'usergroups_users' do |g|
  g.desc 'List all users in a User Group'
  g.long_desc %( List all users in a User Group )
  g.command 'list' do |c|
    c.flag 'usergroup', desc: 'The encoded ID of the User Group to update.'
    c.flag 'include_disabled', desc: 'Allow results that involve disabled User Groups.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.usergroups_users_list(options))
    end
  end

  g.desc 'Update the list of users for a User Group'
  g.long_desc %( Update the list of users for a User Group )
  g.command 'update' do |c|
    c.flag 'usergroup', desc: 'The encoded ID of the User Group to update.'
    c.flag 'users', desc: 'A comma separated string of encoded user IDs that represent the entire list of users for the User Group.'
    c.flag 'include_count', desc: 'Include the number of users in the User Group.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.usergroups_users_update(options))
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.1 bin/commands/usergroups_users.rb
slack-ruby-client-0.14.0 bin/commands/usergroups_users.rb
slack-ruby-client-0.13.1 bin/commands/usergroups_users.rb
slack-ruby-client-0.13.0 bin/commands/usergroups_users.rb
slack-ruby-client-0.12.0 bin/commands/usergroups_users.rb
slack-ruby-client-0.11.1 bin/commands/usergroups_users.rb
slack-ruby-client-0.11.0 bin/commands/usergroups_users.rb
slack-ruby-client-0.10.0 bin/commands/usergroups_users.rb
slack-ruby-client-0.9.1 bin/commands/usergroups_users.rb