Readme improved

This commit is contained in:
Daniel Schubert 2019-07-09 09:03:50 +02:00
parent 907e387b3b
commit 00331f6645
1 changed files with 6 additions and 3 deletions

View File

@ -2,14 +2,17 @@
A Class to convert from Slack exportet direct messages for mattermost. A Class to convert from Slack exportet direct messages for mattermost.
# TODO
Replies are not yet being correctly inserted as replies, but as normal chat messages.
```bash ```bash
ruby slackconverter.rb > dms.json ruby slack-converter.rb > messages.json
``` ```
on your mattermost server: on your mattermost server:
```bash ```bash
bin/mattermost import bulk --validate dms.json bin/mattermost import bulk --validate messages.json
``` ```
when there where no errors: when there where no errors:
```bash ```bash
bin/mattermost import bulk --apply dms.json bin/mattermost import bulk --apply messages.json
``` ```