git-update-repos-labels
A tiny helper to update of label in the github repository
Install
npm install git-update-repos-labels
Usage
; const token = '59bd8d5eb1980b7f926f2d106f4f2f0312fdf97f';const label = id: 'MDU6TGFiZWwxNDg1MjAwMjk2' color: 'ededed' name: 'status: in progress' description: null; ;//=> {id: "MDU6TGFiZWwxNDg1MjAwMjk2", "name": "status: in progress", "color": "ededed", "description": null}
API
label
Type: object
Required
Default: undefined
Description: label creation options {id: string, name: string, color: string, description: string}
when {id, name, color}
are required
token
Type: String
Required
Default: undefined
Description: You Github Personal Token. Grab it from your Developer settings
Recommend
- git-get-repos-labels - A iny helper to get a list of labels from the github repository