{"id":13702485,"url":"https://github.com/heaths/gh-label","last_synced_at":"2025-04-19T15:28:19.081Z","repository":{"id":44894200,"uuid":"399642135","full_name":"heaths/gh-label","owner":"heaths","description":"GitHub CLI extension for label management","archived":false,"fork":false,"pushed_at":"2022-01-20T08:47:18.000Z","size":33469,"stargazers_count":62,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T09:22:46.858Z","etag":null,"topics":["cli","gh-extension"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heaths.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-25T00:33:49.000Z","updated_at":"2025-03-16T19:42:13.000Z","dependencies_parsed_at":"2022-09-15T11:20:13.909Z","dependency_job_id":null,"html_url":"https://github.com/heaths/gh-label","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fgh-label","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fgh-label/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fgh-label/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fgh-label/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heaths","download_url":"https://codeload.github.com/heaths/gh-label/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249220841,"owners_count":21232421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","gh-extension"],"created_at":"2024-08-02T21:00:36.391Z","updated_at":"2025-04-16T08:32:57.157Z","avatar_url":"https://github.com/heaths.png","language":"Go","funding_links":[],"categories":["Github","🧩 Categories","Go","cli"],"sub_categories":["Productivity / Workflow"],"readme":"# gh label\n\n[GitHub CLI] extension for issue label management.\n\n## Install\n\nMake sure you have version 2.0 or [newer] of the [GitHub CLI] installed.\n\n```bash\ngh extension install heaths/gh-label\n```\n\n### Upgrade\n\nThe `gh extension list` command shows if updates are available for extensions. To upgrade, you can use the `gh extension upgrade` command:\n\n```bash\ngh extension upgrade heaths/gh-label\n\n# Or upgrade all extensions:\ngh extension upgrade --all\n```\n\n## Commands\n\n### create\n\nCreate a label in a repository.\nYou can specify colors with or without a preceeding hash (\"#\").\nIf you do not specify a color a random color will be choosen.\n\n```bash\ngh label create feedback\ngh label create p1 --color e00808\ngh label create p2 --color \"#ffa501\" --description \"Affects more than a few users\"\n```\n\n### delete\n\nDelete a label from a repository.\n\n```bash\ngh label delete p1\n```\n\n### edit\n\nEdit a label in a repository.\nYou can specify colors with or without a preceeding hash (\"#\").\n\n```bash\ngh label edit general --new-name feedback\ngh label edit feedback --color c046ff --description \"User feedback\"\n```\n\n### export\n\nExport labels from the repository to \u003cpath\u003e, or stdout if \u003cpath\u003e is \"-\".\n\n```bash\ngh label export ./labels.csv\ngh label export ./labels.json\ngh label export --format csv -\n```\n\n### import\n\nImport labels into the repository from \u003cpath\u003e, or stdin if \u003cpath\u003e is \"-\".\n\n```bash\ngh label import ./labels.csv\ngh label import ./labels.json\ngh label import --format csv -\n```\n\n### list\n\nList labels in a repository.\nYou can optionally pass a substring to match in the label name or description.\n\n```bash\ngh label list\ngh label list service\n```\n\n## License\n\nLicensed under the [MIT](LICENSE.txt) license.\n\nPortions of this source copied from [vilmibm/gh-user-status](https://github.com/vilmibm/gh-user-status/tree/533285348c0354064d79053da39aa75f17b5c55f) under the [GNU Affero General Public License v3.0](https://github.com/vilmibm/gh-user-status/blob/533285348c0354064d79053da39aa75f17b5c55f/LICENSE).\n\n[GitHub CLI]: https://github.com/cli/cli\n[newer]: https://github.com/cli/cli/releases/latest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fgh-label","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheaths%2Fgh-label","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fgh-label/lists"}