https://github.com/tmc/slackutil
https://github.com/tmc/slackutil
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/tmc/slackutil
- Owner: tmc
- Created: 2023-05-11T23:57:33.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-16T20:03:39.000Z (about 3 years ago)
- Last Synced: 2025-01-22T06:16:04.498Z (over 1 year ago)
- Language: Go
- Size: 28.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# slackdump
Dumps info from slack.
```shell
slackdump
Usage:
slackdump [flags]
slackdump [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
dump-conversation dump-conversation
help Help about any command
list-conversations list-conversations
list-users list-users
Flags:
-d, --d-cookie string 'd' cookie value
-s, --ds-cookie string 'd-s' cookie value
-h, --help help for slackdump
-t, --token string slack token (see readme)
Use "slackdump [command] --help" for more information about a command.
```
Flags Descriptions:
* `--d-cookie='(value of your d cookie)`
* `--ds-cookie='(value of your d-s cookie)'`
* `--token='(value of the results of the browser console command to run listed below)'`
Console command:
```javascript
var localConfig = JSON.parse(localStorage.localConfig_v2)
localConfig.teams[localConfig.lastActiveTeamId].token
```