Sha256: 8fd2d148b36825e1720df33f53d811dce8bdc363268928e99946575e4e8922c0

Contents?: true

Size: 669 Bytes

Versions: 4

Compression:

Stored size: 669 Bytes

Contents

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

desc 'Migration methods.'
command 'migration' do |g|
  g.desc 'For Enterprise Grid workspaces, map local user IDs to global user IDs'
  g.long_desc %( For Enterprise Grid workspaces, map local user IDs to global user IDs )
  g.command 'exchange' do |c|
    c.flag 'users', desc: 'A comma-separated list of user ids, up to 400 per request.'
    c.flag 'to_old', desc: 'Specify true to convert W global user IDs to workspace-specific U IDs. Defaults to false.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.migration_exchange(options))
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack-ruby-client-0.15.1 bin/commands/migration.rb
slack-ruby-client-0.15.0 bin/commands/migration.rb
slack-ruby-client-0.14.6 bin/commands/migration.rb
slack-ruby-client-0.14.5 bin/commands/migration.rb