notify_slack
Version, currently 0.3.36 versions
github.com/pine/crystal-notify-slack
:bell: Slack notify CLI tool
8 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
notify_slack:
github: pine/crystal-notify-slack
version: ~> 0.3.3Then run:
shards installshard.yml
- Crystal
- no constraint declared
- Author
- Pine Mizune <pinemz@gmail.com>
Dependencies
Development Dependencies
- webmock0.9.2github: manastech/webmock.crdev
README
# crystal-notify-slack [](https://travis-ci.org/pine/crystal-notify-slack) [](https://shards.rocks/github/pine/crystal-notify-slack) [](https://shards.rocks/github/pine/crystal-notify-slack)
> Slack notify CLI tool
## Usage
```
Usage: notify-slack --channel=channel --username=username --icon_emoji=:innocent: --text=text
--channel=CHANNEL [required] Slack channel
--text=TEXT [required] Post text
--username=USERNAME Slack username
--icon_emoji=:emoji: Slack icon (emoji)
--icon_url=URL Slack icon url
--help Show help
```
### Specifiy web hook url at runtime
```bash
$ export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/xxxxxxxxxxxxxxxxxxxxxxxx"
$ notify-slack --channel=channel --username=username --icon_emoji=:innocent: --text=text
```
## Build
```
$ echo "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/xxxxxxxxxxxxxxxxxxxxxxxx" > WEBHOOK_URL
$ make deps
$ make build
```
## Test
```
$ make test
```
## Contributing
1. Fork it ( https://github.com/pine/crystal-notify-slack/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request
## License
MIT License
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.3.3- Tagged
- Dec 12, 2016
- Commit
77266591d953- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/pine/crystal-notify-slack
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 6