https://github.com/smrchy/githubcopy
A module to copy all labels from one repository to another.
https://github.com/smrchy/githubcopy
Last synced: 5 months ago
JSON representation
A module to copy all labels from one repository to another.
- Host: GitHub
- URL: https://github.com/smrchy/githubcopy
- Owner: smrchy
- License: mit
- Created: 2016-10-05T08:30:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-05T08:49:03.000Z (about 9 years ago)
- Last Synced: 2025-03-26T14:54:27.167Z (7 months ago)
- Language: CoffeeScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
githubcopy
============[](http://travis-ci.org/nachbarshund/githubcopy)
[]()
[](https://david-dm.org/nachbarshund/githubcopy)
[](http://badge.fury.io/js/githubcopy)Module description
[](https://nodei.co/npm/githubcopy/)
## Install
```
npm i -g githubcopy
```## Run on terminal
```shell
githubcopy
```## Todos
* implement test cases to check for correct template generation.
## Advanced tipp
You can add a global configuration file to set the access token there, e.g. `~/username/.globalconfig.json`:```
{
"github": {
"accessToken": "abcdefghijk12345"
}
}
```## Testing
The tests are based on the [mocha.js](https://mochajs.org/) framework with [should.js](https://shouldjs.github.io/) as assertaion lib.
To start the test just call```
npm test
```or
```
grunt test
```If you want to be more precice use the mocha cli
```
mocha -R nyan -t 1337 test/main.js
```## Release History
|Version|Date|Description|
|:--:|:--:|:--|
|1.1.0|2016-5-23|Add global configuration for access token|
|1.0.0|2016-5-23|Initial commit|[](https://nodei.co/npm/githubcopy/)
> Initially Generated with [generator-mpnodemodule](https://github.com/mpneuried/generator-mpnodemodule)
## The MIT License (MIT)
Copyright © 2016 C. Zotter, http://www.tcs.de
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.