catops-teams
v1.2.4
Published
Create and manage team members using Hubot.
Downloads
5
Maintainers
Readme
CatOps Teams
:cat: Create and manage team members using Hubot. Based on hubot-team.
Installation
Add catops-teams to your package.json
file:
"dependencies": {
...
"catops-teams": "latest"
}
Add catops-teams to your external-scripts.json
:
["catops-teams"]
Run npm install catops-teams
Configuration
Some commands require an 'admin' role to be run (i.e. clear
team list). The
admins can be specified through the HUBOT_TEAM_ADMIN
environment variable,
as a comma separated list of usernames.
Commands
hubot create team <team_name> - create team called <team_name>
hubot (delete|remove) team <team_name> - delete team called <team_name>
hubot (list|show) teams - list all existing teams
hubot add (me|<user>) to team <team_name> - add me or <user> to team
hubot remove (me|<user>) from team <team_name> - remove me or <user> from team
hubot (list|show) team <team_name> - list the people in the team
hubot (empty|clear) team <team_name> - clear everyone from team