slack-prune
v1.0.2
Published
Clean up your unused Slack channels!
Downloads
4
Readme
🗑 slack-prune
A command line tool for archiving your empty and unused Slack channels.
🚀 Usage
Install with npm:
npm i -g slack-prune
Provide a valid API token and the tool with guide you through the rest.
slack-prune --token [slack_api_token] [options]
Options:
--token, -t a valid slack oauth token [required]
--limit, -l member threshold to remove channels [number] [default: 1]
--force, -f Do not prompt before archiving [boolean] [default: false]
--help Show help [boolean]
--verbose, -v [boolean] [default: false]
For more information about how to obtain a Slack API token, visit https://api.slack.com/docs/oauth-test-tokens