webleit/delete-slack-files

Console command to delete files from your slack team

1.0.0 2018-01-16 09:56 UTC

This package is auto-updated.

Last update: 2024-10-20 01:19:25 UTC


README

Quick console command to delete slack files older than X days. Written in PHP

Install

Via Composer

$ composer require webleit/delete-slack-files

Usage

Follow this guide to generate a slack token: https://get.slack.help/hc/en-us/articles/215770388-Create-and-regenerate-API-tokens

php console slack:deletefiles olderThanXDays --token=yourSlackToken

Example

Delete files older than 1 year

php console slack:deletefiles 365 --token=dsjiadp2831312pnu8sdjafjp8128213jdsaopdj81

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email daniele@weble.it instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.