Sha256: 2e42c9cc147a80f91f76078b37cb1935ad051dcdeb43dbf6c100a02308e8e37d

Contents?: true

Size: 796 Bytes

Versions: 5

Compression:

Stored size: 796 Bytes

Contents

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

desc 'AuthTeams methods.'
command 'auth_teams' do |g|
  g.desc 'List the workspaces a token can access.'
  g.long_desc %( List the workspaces a token can access. )
  g.command 'list' do |c|
    c.flag 'cursor', desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
    c.flag 'include_icon', desc: 'Whether to return icon paths for each workspace. An icon path represents a URI pointing to the image signifying the workspace.'
    c.flag 'limit', desc: 'The maximum number of workspaces to return. Must be a positive integer no larger than 1000.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.auth_teams_list(options))
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slack-ruby-client-2.0.0 bin/commands/auth_teams.rb
slack-ruby-client-1.1.0 bin/commands/auth_teams.rb
slack-ruby-client-1.0.0 bin/commands/auth_teams.rb
slack-ruby-client-0.17.0 bin/commands/auth_teams.rb
slack-ruby-client-0.16.0 bin/commands/auth_teams.rb