11# slack-dump
22Generate an export of Channel, Private Group and / or Direct Message history and export it as a ZIP file compatible with Slack's import tool.
33
4+ ## Token
5+
6+ 1 . Visit https://api.slack.com/
7+ 2 . Click "Create an app"
8+ 3 . Select "From scratch"
9+ 4 . Input App Name and pick a workspace
10+ 5 . Click "Features" → "OAuth & Permissions" of sidebar
11+ 6 . Go to "Scopes" and set as below for Bot tokens and User tokens
12+
13+ * channels: read
14+ * groups: read
15+ * im: read
16+ * mpim: read
17+ * channels: history
18+ * groups: history
19+ * im: history
20+ * mpim: history
21+
22+ 7 . Go to "OAuth Tokens for Your Workspace" and click "Install to Workspace"
23+ 8 . Accept
24+ 9 . OAuth Token is displayed in "OAuth Tokens for Your Workspace"
25+
426## Usage
527
628```
@@ -13,19 +35,19 @@ USAGE:
1335 main [global options] command [command options] [arguments...]
1436
1537VERSION:
16- 1.2.1
38+ 1.3.0
1739
1840AUTHORS:
1941 Joe Fitzgerald <jfitzgerald@pivotal.io>
2042 Sunyong Lim <dicebattle@gmail.com>
2143 Yoshihiro Misawa <myoshi321go@gmail.com>
22- takameron <contact @takameron.info>
44+ takameron <tech @takameron.info>
2345
2446COMMANDS:
2547 help, h Shows a list of commands or help for one command
2648
2749GLOBAL OPTIONS:
28- --token value, -t value a Slack API token: (see: https://api.slack.com/web ) [$SLACK_API_TOKEN]
50+ --token value, -t value a Slack API token: (see: https://api.slack.com/apis ) [$SLACK_API_TOKEN]
2951 --output value, -o value Output directory path. Default: current directory path [$]
3052 --help, -h show help (default: false)
3153 --version, -v print the version (default: false)
0 commit comments