Skip to content

Commit

Permalink
doc: Attachments.
Browse files Browse the repository at this point in the history
  • Loading branch information
cubicdaiya committed Sep 16, 2015
1 parent 102b854 commit 8797233
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Expand Up @@ -51,6 +51,17 @@ From v0.5.0, you can send a message to Slack's channel directly.
echo message | slackboard-cli -c random -s slackboard-host:29800
```

## Attachments

From v0.6.0, `slackboard` supports [Attachments](https://api.slack.com/docs/attachments) partially.
For example, `slackboard-cli` can append color for message.

```
echo information | slackboard-cli -c random -s slackboard-host:29800 -l info
echo warning | slackboard-cli -c random -s slackboard-host:29800 -l warn
echo critical | slackboard-cli -c random -s slackboard-host:29800 -l crit
```

### Synchronous notification with slackboard-cli

From v0.3.0, `slackboard-cli` sends a notification-request to `slackboard` asynchronously by default.
Expand Down
Binary file added img/attachments.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8797233

Please sign in to comment.