Sha256: d9cbd20feac319522e72ac4a2047f759e449fea9d741515ef5510bc53c424baf

Contents?: true

Size: 782 Bytes

Versions: 4

Compression:

Stored size: 782 Bytes

Contents

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

module Slack
  module Cli
    class App
      desc 'AdminTeamsAdmins methods.'
      command 'admin_teams_admins' do |g|
        g.desc 'List all of the admins on a given workspace.'
        g.long_desc %( List all of the admins on a given workspace. )
        g.command 'list' do |c|
          c.flag 'team_id', desc: '.'
          c.flag 'cursor', desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
          c.flag 'limit', desc: 'The maximum number of items to return.'
          c.action do |_global_options, options, _args|
            puts JSON.dump(@client.admin_teams_admins_list(options))
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 bin/commands/admin_teams_admins.rb
slack-ruby-client-2.3.0 bin/commands/admin_teams_admins.rb
slack-ruby-client-2.2.0 bin/commands/admin_teams_admins.rb
slack-ruby-client-2.1.0 bin/commands/admin_teams_admins.rb