0.1.3 • Published 5 years ago

git-update-repos-labels v0.1.3

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

git-update-repos-labels

A tiny helper to update of label in the github repository

Travis Build StatusCoveralls status

Install

npm install git-update-repos-labels

Usage

import gitUpdateReposLabels from 'git-update-repos-labels';

const token = '59bd8d5eb1980b7f926f2d106f4f2f0312fdf97f';
const label = {
  id: 'MDU6TGFiZWwxNDg1MjAwMjk2', 
  color: 'ededed', 
  name: 'status: in progress', 
  description: null
};

gitUpdateReposLabels({label, token});
//=> {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

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago