Sha256: 0b600138587269fe6bbae1a82607e6c6ff6692ba878e00275b5f94bf7f54db4c

Contents?: true

Size: 823 Bytes

Versions: 4

Compression:

Stored size: 823 Bytes

Contents

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

module Slack
  module Cli
    class App
      desc 'AdminTeamsOwners methods.'
      command 'admin_teams_owners' do |g|
        g.desc 'List all of the owners on a given workspace.'
        g.long_desc %( List all of the owners 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. Must be between 1 - 1000 both inclusive.'
          c.action do |_global_options, options, _args|
            puts JSON.dump(@client.admin_teams_owners_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_owners.rb
slack-ruby-client-2.3.0 bin/commands/admin_teams_owners.rb
slack-ruby-client-2.2.0 bin/commands/admin_teams_owners.rb
slack-ruby-client-2.1.0 bin/commands/admin_teams_owners.rb