Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purge from all channels #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

deanpemberton
Copy link

I wanted an option to be able to purge messages from all channels which were older than a certain date.
This adds the "--purge yes" option and then iterates clean_channel over all the channels.
There is probably a better way to handle the argument (ie making it a boolean), but for my use this was fine.

@kfei
Copy link
Owner

kfei commented Nov 13, 2016

Hi @deanpemberton , thanks an awful lot for adding this, having --purge is just awesome. 👍

I apologize for the long time it took me to reply this. Since I've just merged #14 which adds support of file deletion, could you rebase your commits onto the current master (there is already a remove_files() function)?

Thank you again for doing this. 😄

sgratzl added a commit to sgratzl/slack-cleaner that referenced this pull request Sep 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants