crystal-notify-slack v0.3.3

🔔 Slack notify CLI tool

crystal-notify-slack Build Status Dependency Status devDependency Status

Slack notify CLI tool

Usage

Usage: notify-slack --channel=channel --username=username --icon_emoji=😇 --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

$ export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/xxxxxxxxxxxxxxxxxxxxxxxx"
$ notify-slack --channel=channel --username=username --icon_emoji=😇 --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

Repository

crystal-notify-slack

Owner
Statistic
  • 8
  • 1
  • 0
  • 0
  • 1
  • about 8 years ago
  • March 13, 2016
License

MIT License

Links
Synced at

Sun, 22 Dec 2024 18:42:45 GMT

Languages