{"action":"created","issue":{"url":"https://api.github.com/repos/remind101/empire/issues/686","labels_url":"https://api.github.com/repos/remind101/empire/issues/686/labels{/name}","comments_url":"https://api.github.com/repos/remind101/empire/issues/686/comments","events_url":"https://api.github.com/repos/remind101/empire/issues/686/events","html_url":"https://github.com/remind101/empire/issues/686","id":121165470,"number":686,"title":"Add a Slack slash command interface","user":{"login":"ejholmes","id":95166,"avatar_url":"https://avatars.githubusercontent.com/u/95166?v=3","gravatar_id":"","url":"https://api.github.com/users/ejholmes","html_url":"https://github.com/ejholmes","followers_url":"https://api.github.com/users/ejholmes/followers","following_url":"https://api.github.com/users/ejholmes/following{/other_user}","gists_url":"https://api.github.com/users/ejholmes/gists{/gist_id}","starred_url":"https://api.github.com/users/ejholmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejholmes/subscriptions","organizations_url":"https://api.github.com/users/ejholmes/orgs","repos_url":"https://api.github.com/users/ejholmes/repos","events_url":"https://api.github.com/users/ejholmes/events{/privacy}","received_events_url":"https://api.github.com/users/ejholmes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/remind101/empire/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-09T05:46:26Z","updated_at":"2015-12-10T23:36:25Z","closed_at":null,"body":"I think it would be really cool to have built in support for an `/empire` slack command.\r\n\r\ne.g.\r\n\r\n```\r\n/empire ps -a app\r\n/empire restart -a app\r\n/empire scale web=2 -a app\r\n```\r\n\r\nThere's a Go library at https://github.com/ejholmes/slash for handling Slack slash commands.\r\n\r\nNo plans to implement this anytime soon, but I wanted to open it up to keep track of the idea."},"comment":{"url":"https://api.github.com/repos/remind101/empire/issues/comments/163786851","html_url":"https://github.com/remind101/empire/issues/686#issuecomment-163786851","issue_url":"https://api.github.com/repos/remind101/empire/issues/686","id":163786851,"user":{"login":"ejholmes","id":95166,"avatar_url":"https://avatars.githubusercontent.com/u/95166?v=3","gravatar_id":"","url":"https://api.github.com/users/ejholmes","html_url":"https://github.com/ejholmes","followers_url":"https://api.github.com/users/ejholmes/followers","following_url":"https://api.github.com/users/ejholmes/following{/other_user}","gists_url":"https://api.github.com/users/ejholmes/gists{/gist_id}","starred_url":"https://api.github.com/users/ejholmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejholmes/subscriptions","organizations_url":"https://api.github.com/users/ejholmes/orgs","repos_url":"https://api.github.com/users/ejholmes/repos","events_url":"https://api.github.com/users/ejholmes/events{/privacy}","received_events_url":"https://api.github.com/users/ejholmes/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T23:36:25Z","updated_at":"2015-12-10T23:36:25Z","body":"I was imaging it would just be a separate control layer in `package server/slack`. It'd just be a consumer of `package empire` like the api is. I think this could be mvp'd with just a couple of commands. One of the most important for us would be an `/empire restart` and a slash command for enabling github deployments webhooks on a repo."}}