Sha256: 83a67bd4e1f3a889d06ec59438021d997715245b5a06c50564113ba84000a19a

Contents?: true

Size: 698 Bytes

Versions: 4

Compression:

Stored size: 698 Bytes

Contents

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

module Slack
  module Cli
    class App
      desc 'ToolingTokens methods.'
      command 'tooling_tokens' do |g|
        g.desc 'Exchanges a refresh token for a new app configuration token.'
        g.long_desc %( Exchanges a refresh token for a new app configuration token. )
        g.command 'rotate' do |c|
          c.flag 'refresh_token', desc: 'The xoxe refresh token that was issued along with the old app configuration token.'
          c.action do |_global_options, options, _args|
            puts JSON.dump(@client.tooling_tokens_rotate(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/tooling_tokens.rb
slack-ruby-client-2.3.0 bin/commands/tooling_tokens.rb
slack-ruby-client-2.2.0 bin/commands/tooling_tokens.rb
slack-ruby-client-2.1.0 bin/commands/tooling_tokens.rb