Sha256: 32c824f57c8d12d169ac97f1f0f34beb4938ff9dc588bbfd2dc6dead929eef6b

Contents?: true

Size: 1023 Bytes

Versions: 3

Compression:

Stored size: 1023 Bytes

Contents

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

module Slack
  module Cli
    class App
      desc 'AdminAppsRestricted methods.'
      command 'admin_apps_restricted' do |g|
        g.desc 'List restricted apps for an org or workspace.'
        g.long_desc %( List restricted apps for an org or workspace. )
        g.command 'list' do |c|
          c.flag 'certified', desc: 'Limit the results to only include certified apps. When false, no certified apps will appear in the result.'
          c.flag 'cursor', desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
          c.flag 'enterprise_id', desc: '.'
          c.flag 'limit', desc: 'The maximum number of items to return. Must be between 1 - 1000 both inclusive.'
          c.flag 'team_id', desc: '.'
          c.action do |_global_options, options, _args|
            puts JSON.dump(@client.admin_apps_restricted_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_apps_restricted.rb
slack-ruby-client-2.3.0 bin/commands/admin_apps_restricted.rb
slack-ruby-client-2.2.0 bin/commands/admin_apps_restricted.rb