# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake module Slack module Cli class App desc 'AdminAppsApproved methods.' command 'admin_apps_approved' do |g| g.desc 'List approved apps for an org or workspace.' g.long_desc %( List approved apps for an org or workspace. ) g.command 'list' do |c| 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_approved_list(options)) end end end end end end