【文件属性】:
文件名称:copy-github-labels:轻松将标签从一个GitHub存储库复制到另一个
文件大小:14KB
文件格式:ZIP
更新时间:2021-05-24 12:11:49
JavaScript
复制GitHub标签
轻松将GitHub标签从一个存储库复制到另一个存储库。 使用 。
如果要从命令行而不是从脚本复制GitHub标签,请签出 。
安装
$ npm install copy-github-labels
例子
// Instantiate
var copyGitHubLabels = require ( 'copy-github-labels' ) ( ) ;
// Optionally use credentials
copyGitHubLabels . authenticate ( {
token : 'your-github-token'
} ) ;
// Copy labels from one repository to another
copyGitHubLabels . copy ( 'github-username/src-repo' , 'gith
【文件预览】:
copy-github-labels-master
----lib()
--------copy-github-labels.js(3KB)
----examples()
--------oauth.js(3KB)
--------simple.js(707B)
----.travis.yml(36B)
----LICENSE(1KB)
----test()
--------copy-github-labels.js(716B)
----README.md(5KB)
----.editorconfig(195B)
----.gitignore(594B)
----index.js(57B)
----package-lock.json(21KB)
----package.json(880B)