slack-msg
v1.0.0
Published
Send messages to Slack from the command line
Downloads
3
Readme
slack-msg
Dead simple CLI to send messages to Slack
Install
You can either use npx
or install it globally:
npm install -g slack-msg
Usage
After installation, you can send a message to a Slack channel with a single command:
TOKEN=XXX CHANNEL=YYY slack-msg "Your message in markdown"
Make sure to replace XXX
with your Slack token and YYY
with the channel ID. You can create a Slack app and generate a token from here.
License
MIT © Kamran Ahmed