bin/commands/reactions.rb in slack-ruby-client-0.15.1 vs bin/commands/reactions.rb in slack-ruby-client-0.16.0

- old
+ new

@@ -31,9 +31,10 @@ g.long_desc %( Lists reactions made by a user. ) g.command 'list' do |c| c.flag 'cursor', desc: "Parameter for pagination. Set cursor equal to the next_cursor attribute returned by the previous request's response_metadata. This parameter is optional, but pagination is mandatory: the default value simply fetches the first 'page' of the collection. See pagination for more details." c.flag 'full', desc: 'If true always return the complete reaction list.' c.flag 'limit', desc: "The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached." + c.flag 'team_id', desc: 'encoded team id to list reactions in, required if org token is used.' c.flag 'user', desc: 'Show reactions made by this user. Defaults to the authed user.' c.action do |_global_options, options, _args| puts JSON.dump($client.reactions_list(options)) end end