-
Notifications
You must be signed in to change notification settings - Fork 22
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
Is there a way to highlight that a plugin command being installed will conflict #43
Comments
This is expected behavior. We take advantage of this to allow plugins to be used to override core commands |
Mind if I add something to the README via PR that this is the intended behaviour? I didn't see any reference to it in this repo's README or the oclif docs site. |
Sure. To illustrate a bit more: The Heroku CLI is an oclif CLI made up of many plugins. If we wanted to make a modification to We might also work on a replacement command like The loading order is core < user (plugins:install) < linked (plugins:link). In other words, a user plugin overrides a core plugin and a linked plugin overrides a user plugin. If it worked the other way (say, core before linked) it would be impossible to make modifications to an existing core plugin. There are a few other similar situations where this behavior is ideal. |
Gotcha! Thanks, especially for the |
Repro:
At step 3, it doesn't show that the "hello" command conflicts. If it can't be done at install time, perhaps a flag at runtime (verbose?) to show conflicts in the log.
The text was updated successfully, but these errors were encountered: