Sha256: 8dabe4ec08d99164d9f309eceb17b773768c3b92fb65b3c4b54fc8b585bca32b

Contents?: true

Size: 482 Bytes

Versions: 3

Compression:

Stored size: 482 Bytes

Contents

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

desc "Get info on your team's private channels."
command 'groups' do |g|
  g.desc 'This method returns the ID of a group.'
  g.long_desc %( This method returns the ID of a group. )
  g.command 'id' do |c|
    c.flag 'channel', desc: 'Group channel to get ID for, prefixed with #.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.groups_id(options))
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slack-ruby-client-1.1.0 bin/commands/groups.rb
slack-ruby-client-1.0.0 bin/commands/groups.rb
slack-ruby-client-0.17.0 bin/commands/groups.rb