Sha256: 57d027038e9cb49bca8c0526eded2b36c7e6153dcb052717041c15121ecccbf5

Contents?: true

Size: 833 Bytes

Versions: 3

Compression:

Stored size: 833 Bytes

Contents

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

module Slack
  module Cli
    class App
      desc 'AdminWorkflowsPermissions methods.'
      command 'admin_workflows_permissions' do |g|
        g.desc 'Look up the permissions for a set of workflows'
        g.long_desc %( Look up the permissions for a set of workflows )
        g.command 'lookup' do |c|
          c.flag 'workflow_ids', desc: 'An array of workflow IDs to look up permissions for.'
          c.flag 'max_workflow_triggers', desc: 'Maximum number of triggers to fetch for each workflow when determining overall run permissions; max 1000.'
          c.action do |_global_options, options, _args|
            puts JSON.dump(@client.admin_workflows_permissions_lookup(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_workflows_permissions.rb
slack-ruby-client-2.3.0 bin/commands/admin_workflows_permissions.rb
slack-ruby-client-2.2.0 bin/commands/admin_workflows_permissions.rb