Skip to content

Purge from all channels#24

Open
deanpemberton wants to merge 2 commits intokfei:masterfrom
deanpemberton:master
Open

Purge from all channels#24
deanpemberton wants to merge 2 commits intokfei:masterfrom
deanpemberton:master

Conversation

@deanpemberton
Copy link
Copy Markdown

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
Copy Markdown
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