Sha256: 0ba22339060465908625235e442f6f38e9b9f8979114e27e9290f784a15319da

Contents?: true

Size: 1.06 KB

Versions: 4

Compression:

Stored size: 1.06 KB

Contents

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

module Slack
  module Cli
    class App
      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
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 bin/commands/admin_users_unsupportedVersions.rb
slack-ruby-client-2.3.0 bin/commands/admin_users_unsupportedVersions.rb
slack-ruby-client-2.2.0 bin/commands/admin_users_unsupportedVersions.rb
slack-ruby-client-2.1.0 bin/commands/admin_users_unsupportedVersions.rb