squint 0.1.0
squint: ^0.1.0 copied to clipboard
Issue labels for hackers.
squint #
Squint is a client for GitHub's issue labels api (v3).
Groom the default tags to suit your team.
Try it with Stagehand in a new repo.
setup
Create .env from the template file and fill in its values.
usage #
Create .squintrc.json with the issue labels you wish to add, remove, or change.
{ "remove":
[ "help wanted"
, "invalid"
, "question"
, "enhancement"
]
, "add":
[ { "name": "blocked", "color": "800000" }
, { "name": "ready", "color": "01ff70" }
, { "name": "android", "color": "a4c639" }
, { "name": "jigglypuff", "color": "fad0de" }
]
, "change":
[ { "name": "bug", "color": "d32f2f" }
, { "name": "wontfix", "color": "000000" }
, { "name": "duplicate", "color": "333333" }
]
}
Run squint:
$ dart bin/main.dart
- Squint is idempotent. Requests are deduplicated against the repo's current labels.
- Squint will be available as a
pub global|runcommand once pub supportsasync.

