Synopsis
cluck crow --channel C --message M
Description
Sends a notification to a channel. Handy for deploy announcements and for testing that your alerts really work at 3 a.m.
Options
| Flag | Description |
|---|---|
--channel C | Target channel |
--message M | Message text |
--test | Send a test alert to the on-call hen |
All commands also accept the global flags --coop, --json, --quiet, and --no-color, plus --help, which prints this page in a smaller font.
Example
$ cluck crow --channel ops --message "Deployed v182"
✔ Crowed to #ops
Exit codes
| 0 | Success. A quiet cluck. |
|---|---|
| 1 | The command ran but reported a problem, such as a failing check. |
| 2 | Bad usage: a flag was missing or invalid. |
| 3 | Authentication or permission error. See HEN-2001. |