slack-msg

v1.0.0
Send messages to Slack from the command line

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

npm i slack-msg

Metadata

  • MIT
  • Whatever
  • Your Name
  • released 11/3/2023

Downloads

Maintainers