#label #github #yaml #command-line-tool #utility #file #category

app gh-label-conductor

A small CLI utility for bootstrapping GitHub project labels from a YAML file

2 releases

0.1.1 Sep 4, 2021
0.1.0 Sep 4, 2021

#21 in #category

Custom license

16KB
119 lines

gh-label-conductor

Small command line utility for updating the labels on a GitHub project from a YAML file. Used to quickly bootstrap common and consistent labels on a project.

Example Source

categories:
  - prefix: P
    color: "D93F0B"
    labels:
      low: "Priority: Low"
      medium: "Priority: Medium"
      high: "Priority: High"
      critical: "Priority: Critical"
  - prefix: C
    color: "BFD4F2"
    labels:
      bug: "Category: This is a bug."
      enhancement: "Category: An issue or PR with for a proposed enhancement."
      tracking-issue: "Category: A tracking issue for a major feature or change."

Usage

cargo install gh-label-conductor
export -x GH_TOKEN <GITHUB_PERSONAL_ACCESS_TOKEN>
gh-label-conductor apply <owner>/<repo>

Dependencies

~31–46MB
~776K SLoC