degica / barcelona

PaaS built on top of AWS
MIT License
52 stars 6 forks source link

Add Slack slash commands support #157

Open k2nr opened 8 years ago

k2nr commented 8 years ago

should be useful for all slack + barcelona users

essa commented 8 years ago

I have implemented a slash command from "Slack-echo-command" in following article.

I think I can copy and modify it to implement a slash command for barcelona. It can use following APIs.

I'd like to implement /bcn deploy command like this.

/bcn deploy bluegreen-sensu -e staging

One thing remaining is "configuration files". My plan is putting them to a S3 bucket with following structure.

All heritages have a directory of its name and two files in it. And they will be created by local bcn command just after the heritage was created.

@k2nr Could you comment about this plan and describe sub-commands you want to add briefly?