bin/commands/pins.rb in slack-ruby-client-0.15.1 vs bin/commands/pins.rb in slack-ruby-client-0.16.0
- old
+ new
@@ -24,11 +24,9 @@
g.desc 'Un-pins an item from a channel.'
g.long_desc %( Un-pins an item from a channel. )
g.command 'remove' do |c|
c.flag 'channel', desc: 'Channel where the item is pinned to.'
- c.flag 'file', desc: 'File to un-pin.'
- c.flag 'file_comment', desc: 'File comment to un-pin.'
c.flag 'timestamp', desc: 'Timestamp of the message to un-pin.'
c.action do |_global_options, options, _args|
puts JSON.dump($client.pins_remove(options))
end
end