A GitHub CLI extension to copy GitHub Issues from one repository to another based on a specified label.
gh extension install thetechcollective/gh-cpissues
gh cpissues <git-repo> --label <label> [--verbose]
Replace '<git-repo>
' with the target repository where you want to copy the issues and '<label>
' with the label of the issues you want to copy.
[--verbose]
: (Optional) Include this flag to get more detailed output about the operation. This can be helpful for debugging or understanding the process in more detail.
<git-repo>
: The target repository in the format '<owner>/<repository>
'.--label <label>
: Specify the label of the issues to copy. --verbose
': Include it in your command if you want more detailed output. Will keep the .tmp and .json file.gh cpissues thetechcollective/dx-intro --label template
This command will copy all issues labeled "template" from the repository "thetechcollective/dx-intro" to the current repository.
gh
') to interact with GitHub repositories.