Will you be satisfied and stuck with the default labels in the GitHub repository? The answer may probably be NO; you always need to add some new ones, customize the colors, etc. Finally, you will come to an excellent label template(or you might find someone from others), whenever you create a new repository, you might want to reuse the labels your favor, but still with copying manually?
No... This command line tool tries to help you manipulate your GitHub label template efficiently.
Feel free to export the lables of this repo as a template.
Node.js 4.4 or later.
npm install github-label-template
Usage: ghlbl [options]
Options:
-h, --help output usage information
-V, --version output the version number
-o, --owner [owner] repo owner
-r, --repo [repo] repo name
-t, --token [token] github token
-e, --export [filename] export the lables to json file [filename]
-d, --del delete all existed labels
-i, --import [filename] import the labels from json file [filename]
-
Export all labels
ghlbl -o xavierchow -r github-label-template -t <github-token> -e out.json
-
Clear all existed labels
ghlbl -o xavierchow -r github-label-template -t <github-token> -d
-
Import labels from json template
ghlbl -o xavierchow -r github-label-template -t <github-token> -i tmpl.json
MIT