Slackup
A simple command-line tool for uploading files to Slack.
pip install slackup
export SLACK_API_TOKEN=xxxx-0000000000-0000000000-0000000000-aaaaa
slackup #cat_gifs ~/Desktop/cat-falls-over-hahahahah.gif
You can get your Slack API token from api.slack.com.