mirror of
https://github.com/seigler/slack-cleanup
synced 2025-07-27 01:36:12 +00:00
Updated documentation
This commit is contained in:
parent
3d9abde17a
commit
d06f41582c
1 changed files with 8 additions and 6 deletions
14
README.md
14
README.md
|
@ -2,15 +2,17 @@
|
||||||
|
|
||||||
[](https://circleci.com/gh/madecomfy/slack-cleanup/tree/master)
|
[](https://circleci.com/gh/madecomfy/slack-cleanup/tree/master)
|
||||||
|
|
||||||
A program for cleaning up slack files to free up space.
|
A program for cleaning up slack file uploads. Useful if you keep hitting limits on your plan.
|
||||||
|
|
||||||
## Setup
|
## Installing Slack Cleanup
|
||||||
|
|
||||||
Install Slack Cleanup
|
go get -u github.com/madecomfy/slack-cleanup
|
||||||
|
|
||||||
go get github.com/madecomfy/slack-cleanup
|
|
||||||
|
|
||||||
You will need to generate an API token that has permission to delete files. Add this token to your environment
|
You will need to generate an API token that has permission to delete files. Add this token to your environment
|
||||||
variables (we use Direnv to manage env vars).
|
variables. At MadeComfy we use [Direnv](https://direnv.net/) to manage local environment variables.
|
||||||
|
|
||||||
export SLACK_API_TOKEN=xoxp-111111-1111111-1111111-1111111-111111
|
export SLACK_API_TOKEN=xoxp-111111-1111111-1111111-1111111-111111
|
||||||
|
|
||||||
|
## Running Slack Cleanup
|
||||||
|
|
||||||
|
slack-cleanup
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue