1.0.0 • Published 1 year ago
@rvgpl/slack-message v1.0.0
Slack Message
A simple CLI to send messages to a Slack channel
Install
You can either use npx
or install it globally:
npm install -g @rvgpl/slack-message
Usage
After installation, you can send a message to a Slack channel with a single command:
SLACK_TOKEN=AAA SLACK_CHANNEL_ID=BBB npx @rvgpl/slack-message "Message (supports markdown))"
Replace AAA
with your Slack token and BBB
with the channel ID.
You can create a Slack app and generate a token from here.
License
MIT © Ravigopal Kesari
1.0.0
1 year ago