Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cli-to-slack

zackify11MIT1.0.0

I've found myself pasting terminal output into slack enough times! With this, you can pipe anything to slack:

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.