Sha256: 29a5d9748fe19d47ca48a63dad03d519b86ce902caefefb6fe851172b6e850f4

Contents?: true

Size: 639 Bytes

Versions: 7

Compression:

Stored size: 639 Bytes

Contents

# 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

7 entries across 7 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.1 bin/commands/migration.rb
slack-ruby-client-0.14.0 bin/commands/migration.rb
slack-ruby-client-0.13.1 bin/commands/migration.rb
slack-ruby-client-0.13.0 bin/commands/migration.rb
slack-ruby-client-0.12.0 bin/commands/migration.rb
slack-ruby-client-0.11.1 bin/commands/migration.rb
slack-ruby-client-0.11.0 bin/commands/migration.rb