/sloth

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

Primary LanguageTypeScriptApache License 2.0Apache-2.0

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!