This is a simple utility for tracking SLOs of GitHub repositories.
Make sure you have node.js 8+ installed. Then do this:
$ npm install -g @justinbeckwith/sloth
You need to go create a personal access token in GitHub. Take this token, and save it as an environment variable named SLOTH_GITHUB_TOKEN
.
$ sloth
Alternatively, you can just set it every time before running the tool:
$ SLOTH_GITHUB_TOKEN=****** sloth
You can also get output in CSV format! Just pass the --csv
flag:
$ sloth --csv
Lets use the same labels in all of our repos. First, check out labels.json
. Then go ahead and run:
$ sloth labels
Lets organize the users in our many teams/orgs. First, check out users.json
. Then go ahead and run:
$ sloth users
That's it 🎉 Enjoy!