Skip to content

smoothpie/git-label-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-label-cli

Create and remove labels across GitHub repositories

Installation

npm install -g git-label-cli

Examples:

git-label smoothpie/git-label-cli

git-label --repositories-json

repositories.json example:

[
  "github_user/repo-1",
  "github_user/repo-2",
  "github_user/repo-3"
]

labels-to-create.json example:

[
  { "name": "closed: completed", "color": "#d93f0b" },
  { "name": "closed: duplicate", "color": "#d93f0b" },
  { "name": "closed: wontfix", "color": "#d93f0b" },
  { "name": "requested by: myFavoriteCustomer", "color": "#0052cc" },
  { "name": "type: bug", "color": "#1d76db" },
  { "name": "type: enhancement", "color": "#1d76db" }
]

labels-to-remove.json example:

[
  { "name": "bug" },
  { "name": "enhancement" },
  { "name": "duplicate" },
  { "name": "good first issue" },
  { "name": "help wanted" },
  { "name": "invalid" },
  { "name": "question" },
  { "name": "wontfix" }
]

labels-to-update.json example:

[
  { "currentName": "completed", "name": "closed: completed", "color": "#d93f0b" },
  { "currentName": "duplicate", "name": "closed: duplicate" },
  { "currentName": "requested by: myFavoriteCustomer", "color": "#1d76db" }
]

Related projects

git-label

License

Licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

About

Create and remove labels across GitHub repositories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published