项目作者: mloskot

项目描述 :
Python module to add, remove, edit and dump GitHub labels easily
高级语言: Python
项目地址: git://github.com/mloskot/github-label-maker.git
创建时间: 2018-03-26T21:11:41Z
项目社区:https://github.com/mloskot/github-label-maker

开源协议:The Unlicense

下载


github-label-maker

Python module and script to manage GitHub labels the saner way:

  • create or edit @dave_lunny/sane-github-labels-c5d2e6004b63">sane labels using labels definitions in JSON files
  • dump your existing precious labels into JSON file

Requirements

Installation

pip install gh-label-maker

Usage

Output of python github-label-maker.py -h should be self-explanatory.

If it is not, there are three modes of operation:

  • clear all labels using --clear
  • add or update labels from files with labels definitions
    • from single file --make-labels-from=/my/scheme/default.json
    • from multiple files --make-labels-from=/my/scheme
  • dump all labels using --dump-labels-to=/my/labels.json

Contribute

  1. # get the source
  2. git clone https://github.com/mloskot/github-label-maker.git
  3. # install source in editable mode
  4. cd github-label-maker
  5. pip install -e .
  6. # develop and make a pull request!

Credits

  • @GlennWSo contributed fixes, release and package for PIP