Send messages to slack from command line
Project description
Send messages to Slack from command line.
Usage
date | slacker -c slack_channel -t slack_token
Slack Token can be called from a enviroment variable, called SLACK_TOKEN.
You can set SLACK_TOKEN in your ~/.bashrc
# ~/.bashrc
export SLACK_TOKEN="slack_token_string"
date | slacker -c slack_channel
Send message to user
date | slacker -u user_name
Upload file to channel:
date | slacker -c slack_channel -f image.png
Installation
pip install slacker-cli
Contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
slacker-cli-0.1.3.tar.gz
(2.5 kB
view hashes)