gh label
GitHub CLI extension for issue label management.
Install
Make sure you have version 2.0 or newer of the GitHub CLI installed.
gh extension install heaths/gh-label
Commands
create
Create a label in a repository.
gh label create feedback
gh label create p1 --color e00808
gh label create p2 --color "#ffa501" --description "Affects more than a few users"
edit
Edit a label in a repository.
gh label edit general --new-name feedback
gh label edit feedback --color c046ff --description "User feedback"
delete
Delete a label from a repository.
gh label delete p1
list
List labels in a repository. You can optionally pass a substring to match in the label name or description.
gh label list
gh label list service
License
Licensed under the MIT license.
Portions of this source copied from vilmibm/gh-user-status under the GNU Affero General Public License v3.0.