heaths / gh-label

GitHub CLI extension for label management
MIT License
59 stars 5 forks source link

Create command does not work #6

Closed josemvidal closed 3 years ago

josemvidal commented 3 years ago

The gh label list command works, but none of the others work. They do not appear to be installed:

> gh label create
Error: unknown command "create" for "label"
Run 'label --help' for usage.

> gh label --help
Usage:
  label [command]

Available Commands:
  completion  generate the autocompletion script for the specified shell
  help        Help about any command
  list        List labels for the repository matching optional 'label' substring in the name or description

Flags:
  -h, --help              help for label
  -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO format

Use "label [command] --help" for more information about a command.
heaths commented 3 years ago

Thanks for the reminder. I haven't build and published the reminders for reasons in this issue. In the meantime I just need to do what @vilmibm did so I don't unnecessarily bloat this repo and make gh extension install take forever.

If you have Go installed, you can run ./build.sh in the repo root wherever your extensions were downloaded e.g. in linux ~/.local/share/gh/extensions/gh-label/ and on Windows %LocalAppData%\GitHub CLI\extensions\gh-label\.

I'll try to get to this tonight.

josemvidal commented 3 years ago

Yes, it works now. Thanks!