Giter Club home page Giter Club logo

github-labels's Introduction

Github Labels

Add github labels automatically.

It's very useful that init all your custom labels when create a repo.


Install

$ npm install github-labels -g

Usage

$ labels -c path/to/conf.json user/repo

About config file, see my conf for example.

[
  {"name": "bug", "color": "ffffff"},
  {"name": "feature", "color": "000000"}
]

Your can simplify it that will generate github default color automatically.

["bug", "feature"]

Force option will delete all existing labels, otherwise will create label when not exist or update label when existing label has different color.

$ labels -c path/to/conf.json -f user/repo

GitHub Entreprise configuration

If you're using a private GitHub, you'll need to pass its domain name as parameter.

$ labels -c path/to/conf.json -h github.myhost.com user/repo

It currently only support the default path to the API /api/v3 on port 80.

Export from GitHub website

Here is a snippet to be able to export github labels from the labels page of a project

gist.github.com/MoOx/93c2853fee760f42d97f

Running this code in your browser console should output your some json ready to be imported.

License

MIT

github-labels's People

Contributors

popomore avatar jbips avatar mhor avatar moox avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.