Sha256: 8ca725d6597898083fb2a70a656b8bd3b28750c493d876f5965a1edde76d15e1

Contents?: true

Size: 667 Bytes

Versions: 4

Compression:

Stored size: 667 Bytes

Contents

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

module Slack
  module Cli
    class App
      desc 'Bots methods.'
      command 'bots' do |g|
        g.desc 'Gets information about a bot user.'
        g.long_desc %( Gets information about a bot user. )
        g.command 'info' do |c|
          c.flag 'bot', desc: 'Bot user to get info on.'
          c.flag 'team_id', desc: 'encoded team id or enterprise id where the bot exists, required if org token is used.'
          c.action do |_global_options, options, _args|
            puts JSON.dump(@client.bots_info(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/bots.rb
slack-ruby-client-2.3.0 bin/commands/bots.rb
slack-ruby-client-2.2.0 bin/commands/bots.rb
slack-ruby-client-2.1.0 bin/commands/bots.rb