Sha256: f4b93c757b15d309d6fe064effdf20016c414b757cdfa17c6819f4193e3fc9e2
Contents?: true
Size: 865 Bytes
Versions: 3
Compression:
Stored size: 865 Bytes
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake desc "Get info on your team's Slack channels, create or archive channels, invite users, set the topic and purpose, and mark a channel as read." command 'channels' do |g| g.desc 'Delete a channel (undocumented)' g.long_desc %( Delete a channel ) g.command 'delete' do |c| c.flag 'channel', desc: 'Channel to delete.' c.action do |_global_options, options, _args| puts JSON.dump($client.channels_delete(options)) end end g.desc 'This method returns the ID of a team channel.' g.long_desc %( This method returns the ID of a team channel. ) g.command 'id' do |c| c.flag 'channel', desc: 'Channel to get ID for, prefixed with #.' c.action do |_global_options, options, _args| puts JSON.dump($client.channels_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/channels.rb |
slack-ruby-client-1.0.0 | bin/commands/channels.rb |
slack-ruby-client-0.17.0 | bin/commands/channels.rb |