gh-label-conductor

Crates.iogh-label-conductor
lib.rsgh-label-conductor
version0.1.1
sourcesrc
created_at2021-09-04 03:32:30.408896
updated_at2021-09-04 03:44:25.266065
descriptionA small CLI utility for bootstrapping GitHub project labels from a YAML file.
homepage
repository
max_upload_size
id446704
size52,140
Oscar Rainford (fourbytes)

documentation

README

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>
Commit count: 0

cargo fmt