Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"label" matches the name of a built-in command #25

Closed
TonioGela opened this issue Apr 1, 2022 · 2 comments
Closed

"label" matches the name of a built-in command #25

TonioGela opened this issue Apr 1, 2022 · 2 comments

Comments

@TonioGela
Copy link

Once you try to install the plugin you get "label" matches the name of a built-in command, so probably this repo needs a new name

@heaths
Copy link
Owner

heaths commented Apr 4, 2022

This extension existed before they added the label subcommand. I'm considering deprecating it once I hear back from @vilmibm about my comment. I could add the import and export functions and this extension would no longer be necessary.

@heaths
Copy link
Owner

heaths commented Apr 22, 2022

I've got a couple PRs out on cli/cli to effectively deprecate this extension, though not the explicit export and import commands. The official GitHub CLI will just have a clone command. At the same time, I also have a PR out - though the concept itself is being discussed internally - to allow execution of extensions even if names collide with built-in commands or other extensions.

With no way to currently rename an extension, you can invoke the executable directly.

  • On Windows, it's at "%LOCALAPPDATA%\GitHub CLI\extensions\gh-label\gh-label.exe"
  • On Ubuntu and likely most non-Windows platforms, it's at "~/.local/share/gh/extensions/gh-label/gh-label"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants