Sha256: 6caba758f940fcd22cf746348b9dc9dd9d0a185a30f7c4a135fe51a991d3ee35
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake module Slack module Cli class App desc 'AdminWorkflowsTriggersTypesPermissions methods.' command 'admin_workflows_triggers_types_permissions' do |g| g.desc 'list the permissions for using each trigger type in workflow builder' g.long_desc %( list the permissions for using each trigger type in workflow builder ) g.command 'lookup' do |c| c.flag 'trigger_type_ids', desc: 'The trigger types IDs for which to get the permissions.' c.action do |_global_options, options, _args| puts JSON.dump(@client.admin_workflows_triggers_types_permissions_lookup(options)) end end g.desc 'Set the permissions for using a trigger type in workflow builder' g.long_desc %( Set the permissions for using a trigger type in workflow builder ) g.command 'set' do |c| c.flag 'id', desc: 'The trigger type ID for which to set the permissions.' c.flag 'visibility', desc: 'The function visibility.' c.flag 'user_ids', desc: 'List of user IDs to allow for named_entities visibility.' c.action do |_global_options, options, _args| puts JSON.dump(@client.admin_workflows_triggers_types_permissions_set(options)) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-2.4.0 | bin/commands/admin_workflows_triggers_types_permissions.rb |