cli-to-slack
v1.0.0
Published
I've found myself pasting terminal output into slack enough times! With this, you can pipe anything to slack:
Downloads
2
Readme
cli-to-slack
I've found myself pasting terminal output into slack enough times! With this, you can pipe anything to slack:
cat log.txt | slack
Boom, it's there for your whole team to see!
Want to change the channel?
cat log.txt | slack @bob
Put @username
or channel
at the end to specify other than the default from your created webhook!
Setup
npm install cli-to-slack -g
Add SLACK_WEBHOOK_URL
to your .bashrc
or .zshrc
or whatever you use. This is the webhook url you created in slack.
That's it! Start piping to slack
in the terminal.