stdin writes to slack
- Set up a private slack
- Generate a slack webhook url
- Put it in the toslack file OR save it as a bash variable in your .bashrc
- Put the toslack file into your path (such as /usr/bin)
- Now you can write to your slack via stdin like this
echo hello worl | toslack