项目作者: dogtools

项目描述 :
ChatOps with Dog
高级语言: Go
项目地址: git://github.com/dogtools/dogbot.git
创建时间: 2017-02-09T01:00:13Z
项目社区:https://github.com/dogtools/dogbot

开源协议:Apache License 2.0

下载


Dogbot

Dogbot is a ChatOps bot based on the Dog task runner and the Dogfile Spec.

Unlike similar bots, Dogbot allows you to directly expose shell scripts in your chat room. It’s designed to use /bin/sh by default but it supports multiple scripting languages. Check the Dog documentation for more details on the supported runners.

This initial version works only in Slack but other platforms will be implemented eventually.

Use in chat

List all tasks

  1. @dogbot list

Run a task

  1. @dogbot taskname

Ask for help

  1. @dogbot help

Configure

Dogbot requires you to provide a Slack API key and a Slack Bot ID.

You can either use the environment variables DOGBOT_API_KEY and DOGBOT_BOT_ID or provide the values as command-line arguments (-key and -id).

By default Dogbot looks for a Dogfile in the current path of execution, but you can specify an alternative directory using -dogfile.