slackish
Task runner with Slack integration
Usage
const slackish = ; slackish;
API
dostuff(Array tasks)
Runs an array of task in sequence. Tasks are just functions that returns promises when invoked.
Example of task:
{ return { return Promise; }}
slacker.post(Object config)
A tasks that posts messages to Slack. Please refer to: https://api.slack.com/methods/chat.postMessage for customization
slacker.clitask(String command)
Spawns a child process task. Outputs stdout and stderr of the child. Will reject task on non 0 exit codes. Example
slacker;
err2mark(Error err)
Formats errors to markdown, making them appear nicer in Slack. Example:
slacker;