Uses feature-hooks in hobknob to write toggle change events to slack.
Configuration
config.json
{
"hookUrl": "https://hooks.slack.com/services/my-slack-hook-url",
"channel": "#mychannel",
"env": "test" // optional
}
hookUrl
: create a new integration in slack and paste the hook url herechannel
: channel to post toenv
: (optional) sets the username when posting toHobknob (<env>)
, useful if you run separate instances of hobknob for test/prod
Hobknob Configuration
"hooks": [
"/foo/some/other/hook.js",
"node_modules/hobknob-toggle-logger-slack/index.js"
],