Sha256: c0d387b774ec109e05ce4bc28c9dc7f98345711dc91192a74093a973fc8fe3b6
Contents?: true
Size: 932 Bytes
Versions: 1
Compression:
Stored size: 932 Bytes
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake module Slack module Cli class App 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 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-2.1.0 | bin/commands/auth_teams.rb |