# 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