Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamranahmedse/slack-msg
Dead simple CLI tool to send messages to Slack
https://github.com/kamranahmedse/slack-msg
Last synced: 1 day ago
JSON representation
Dead simple CLI tool to send messages to Slack
- Host: GitHub
- URL: https://github.com/kamranahmedse/slack-msg
- Owner: kamranahmedse
- License: mit
- Created: 2023-11-03T15:16:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-03T15:30:34.000Z (about 1 year ago)
- Last Synced: 2024-08-03T22:24:30.790Z (3 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 17
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
- jimsghstars - kamranahmedse/slack-msg - Dead simple CLI tool to send messages to Slack (JavaScript)
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:
```shell
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](https://api.slack.com/tutorials/tracks/getting-a-token).
## License
MIT © [Kamran Ahmed](https://twitter.com/kamrify)