-
Notifications
You must be signed in to change notification settings - Fork 842
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
Plugin support with git-style "fall-through" of the executable call #1433
Comments
This is something we had early on and then removed because it was causing bad startup times and problems when Docker integration was enabled, and didn't seem worth putting a lot of effort into solving at the time. We'd welcome a PR resurrecting it as long as those two problems are resolved. |
Do you think it's better to give precedence to |
Okay, just looked at how
|
That sounds good to me. Probably as a first phase, don't do anything special for Docker integration (plugins will just run on the host, even in Docker-enabled projects). In a separate phase, we can look at providing an easy-to-use but flexible way for plugins to re-launch themselves in a Docker container the same way |
Will |
Initial implementation is there ^^
It's probably an useful package NPM has |
No, but take a look at `findExecutable` in System/Process/Read.hs.
|
Coolness; replaced it with |
Please make a pull request for your branch; it makes discussing the code a bit easier. I agree having all of that in |
So with
git
, if I have say a binarygit-branch-fzf
on my PATH and typegit branch-fzf
, it'll call my binary.This is a nice way of providing some extension to the tool and I'd like if
stack
did it. Potentially it could give precedence to the outside binary, so that people could write experimental wrappers over built-in commands.Why I think this matters:
stack
project and ask users to rebuild it, because there's much more friction in doing thisSeems like it's pretty easy, not sure if it's wanted (maybe it's even already supported somehow).
The text was updated successfully, but these errors were encountered: