Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.02 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.02 KB

sloth

This is a simple utility for tracking SLOs of GitHub repositories.

sloth

Installation

Make sure you have node.js 8+ installed. Then do this:

$ npm install -g @justinbeckwith/sloth

Usage

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

CSV

You can also get output in CSV format! Just pass the --csv flag:

$ sloth --csv

Updating labels

Lets use the same labels in all of our repos. First, check out labels.json. Then go ahead and run:

$ sloth labels

Team membership

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!