• Stars
    star
    154
  • Rank 242,095 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 9 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CLI tool to copy GitHub labels from one repository to another

Copy GitHub Labels CLI

CLI tool to copy GitHub labels from one repository to another.

Build Status

octocat

If you only want to copy GitHub labels in a script and don't need a CLI, please use copy-github-labels to avoid unnecessary dependencies.

Installation

$ npm install -g copy-github-labels-cli

Usage

$ copy-github-labels -t <token> <source-repo> <destination-repo>

Example

To copy all labels from angular/angular to jvandemo/test:

$ copy-github-labels -t e7ac7612021979b8884f6f11236c65e7723da8c1 angular/angular jvandemo/test

The token above is just an example token, not a real token. You should generate your own token.

The output shows whether or not the copy failed for each label individually:

copy-github-labels

FAQ

Where can I get a token?

Check out the GitHub guide: Creating an access token for command-line use.

I'm getting an error "Unknown label: failed (Bad credentials)"

This happens when your token is not valid.

I'm getting an error "Unknown label: failed (Validation Failed)"

This happens when GitHub refuses to copy the label because it is already present in the destination repository.

I'm getting an error "Unknown label: failed (Not Found)"

This happens when the destination repository cannot be found.

License

MIT

Change log

1.0.0

  • Released production version

0.2.0

  • Added error handling
  • Updated documentation

0.1.0

  • Initial version

More Repositories

1

generator-angular2-library

Yeoman generator to create an Angular library
JavaScript
752
star
2

github-scrum-workflow

Collection of scrum labels to apply agile tactics to a GitHub repository
247
star
3

angular-growl-notifications

Growl notifications for AngularJS
JavaScript
142
star
4

angular-update-meta

Dynamically update meta tags for SEO purposes in your AngularJS application. Supports prerender.io.
JavaScript
135
star
5

generator-angularjs-library

A generator for Yeoman to generate the boilerplate for creating an AngularJS library
JavaScript
117
star
6

copy-github-labels

Easily copy labels from one GitHub repository to another
JavaScript
84
star
7

angular-contentful

Angular module to access the Contentful content delivery API
JavaScript
82
star
8

angular-environment-variables-demo

How to use environment variables to configure your Angular application without a rebuild
TypeScript
47
star
9

contentful-webhook-server

Contentful webhook server is a lightweight server to handle Contentful webhook HTTP requests
JavaScript
35
star
10

angularcodereview-com

Collection of free checklists you can use to perform a code review of your Angular application.
HTML
26
star
11

angular-consent

Easily show consent messages that keep appearing until the user clicks them away.
JavaScript
24
star
12

angular-http-decelerator

A lightweight HTTP interceptor for AngularJS to slow down HTTP responses
JavaScript
21
star
13

angularjs-google-maps

AngularJS library for working with Google Maps
JavaScript
20
star
14

contentful-agent

Node.js module to fetch entries from Contentful
JavaScript
13
star
15

angular2-todo-app

Angular 2 Todo Application
TypeScript
13
star
16

generator-jabl

A generator for Yeoman to build a website with Jade, AngularJS, Bootstrap and LESS
JavaScript
12
star
17

generator-php-library

A generator for Yeoman to generate boilerplate for a PHP library with support for PHPUnit
JavaScript
10
star
18

Ogone

PHP Classes for working with Ogone payment services
PHP
9
star
19

angular-user-settings

Easily manage persistent user settings in your AngularJS application
JavaScript
6
star
20

hb-bootstrap

Harp Boilerplate of a Bootstrap website
CSS
6
star
21

angular-embed-codepen

Easily embed codepen pens in your AngularJS application. No coding or custom markup required!
JavaScript
6
star
22

awesome-badge

Web component to display awesome badge that links to Sindre Sorhus' awesome list
HTML
5
star
23

angular-filter-pack

AngularJS Filter Pack
JavaScript
4
star
24

zf2-event-logger

Zend Framework 2 module that logs all events to the error_log.
PHP
4
star
25

ZendService_Oauth2

Oauth2 service for Zend Framework 2
PHP
3
star
26

web-application-performance-optimization

Checklist for optimizing web application performance
2
star
27

deploy-harp-to-gh-pages-using-travis

JavaScript
2
star
28

todo-app

Angular Todo Application for SitePoint Article
TypeScript
1
star
29

copy-github-labels-test-destination

Test repository to try out copy GitHub labels
1
star
30

angularjs-directive-scope-inspector

A visual scope inspector for the different AngularJS directive scope settings
JavaScript
1
star