Sha256: 81a6d57b05f2ea68a97e50e2a8c3318f9ff6ecbf69deeed4e2f70a8e06b12f50
Contents?: true
Size: 976 Bytes
Versions: 3
Compression:
Stored size: 976 Bytes
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake module Slack module Cli class App desc 'AdminFunctions methods.' command 'admin_functions' do |g| g.desc 'Look up functions by a set of apps' g.long_desc %( Look up functions by a set of apps ) g.command 'list' do |c| c.flag 'app_ids', desc: 'Comma-separated array of app IDs to get functions for; max 50.' c.flag 'cursor', desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.' c.flag 'limit', desc: 'The number of results that will be returned by the API on each invocation. Must be between 1 and 1000, both inclusive.' c.flag 'team_id', desc: 'The team context to retrieve functions from.' c.action do |_global_options, options, _args| puts JSON.dump(@client.admin_functions_list(options)) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-2.4.0 | bin/commands/admin_functions.rb |
slack-ruby-client-2.3.0 | bin/commands/admin_functions.rb |
slack-ruby-client-2.2.0 | bin/commands/admin_functions.rb |