Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @geekcojp/modify-github-labels with all npm packages installed. Try it out:

@geekcojp/modify-github-labels lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("@geekcojp/modify-github-labels/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@geekcojp/modify-github-labels v0.0.5

A cli tool for modifing a labels of Github's repository

modify-github-labels

code style: prettier

Install

npm i -g @geekcojp/modify-github-labels

Usage

Put a github-labels.json at the same directory hierarchy as package.json.

e.g.

{
  "labels": [
    {
      "name": "foo",
      "color": "ff0000",
    },
    {
      "name": "bar",
      "color": "00ff00",
    }
  ]
}

then, just using by cli

e.g.

npx @geekcojp/modify-github-labels --token {personal-access-token} --owner geekcojp --repo modify-github-labels
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free