cp-gh-label
v0.1.8
Published
A small CLI tool to copy labels from a GitHub repository to another.
Downloads
2
Readme
cp-gh-label
A small CLI tool to copy labels from a GitHub repository to another.
Usage
Three arguments are required:
SRC_REPO
: in the formOWNER/REPO
DEST_REPO
: in the formOWNER/REPO
GITHUB_PAT
: use a GitHub Personal Access Token with therepo
scope (this token must have read/write access to both the source and destination repositories)
# Usage:
npx cp-gh-label SRC_REPO DEST_REPO --pat=GITHUB_PAT
# Example:
npx cp-gh-label AaronCQL/cp-gh-label AaronCQL/hello --pat=ghp_XXXXX