Sha256: bf7fd39033aee0f862abdeb537bd09c9d92ef35da70be4474f6635ac4b1986f9

Contents?: true

Size: 959 Bytes

Versions: 2

Compression:

Stored size: 959 Bytes

Contents

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

desc 'AdminUsersUnsupportedversions methods.'
command 'admin_users_unsupportedVersions' do |g|
  g.desc 'Ask Slackbot to send you an export listing all workspace members using unsupported software, presented as a zipped CSV file.'
  g.long_desc %( Ask Slackbot to send you an export listing all workspace members using unsupported software, presented as a zipped CSV file. )
  g.command 'export' do |c|
    c.flag 'date_end_of_support', desc: 'Unix timestamp of the date of past or upcoming end of support cycles. If not provided will include all announced end of support cycles.'
    c.flag 'date_sessions_started', desc: 'Unix timestamp of a date to start looking for user sessions. If not provided will start six months ago.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.admin_users_unsupportedVersions_export(options))
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slack-ruby-client-2.0.0 bin/commands/admin_users_unsupportedVersions.rb
slack-ruby-client-1.1.0 bin/commands/admin_users_unsupportedVersions.rb