Sha256: 74a8e7033e3f06d0fc440330c60417fd3a97d6d54336e2d883d012c5c9641134

Contents?: true

Size: 554 Bytes

Versions: 4

Compression:

Stored size: 554 Bytes

Contents

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

module Slack
  module Cli
    class App
      desc 'TeamProfile methods.'
      command 'team_profile' do |g|
        g.desc "Retrieve a team's profile."
        g.long_desc %( Retrieve a team's profile. )
        g.command 'get' do |c|
          c.flag 'visibility', desc: 'Filter by visibility.'
          c.action do |_global_options, options, _args|
            puts JSON.dump(@client.team_profile_get(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/team_profile.rb
slack-ruby-client-2.3.0 bin/commands/team_profile.rb
slack-ruby-client-2.2.0 bin/commands/team_profile.rb
slack-ruby-client-2.1.0 bin/commands/team_profile.rb