Dead simple CLI to send messages to Slack
You can either use npx
or install it globally:
npm install -g slack-msg
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.
MIT © Kamran Ahmed