cli-to-slack

1.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i cli-to-slack

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • zackify