asdf-vm/asdf

Non-language plugins

Open

#367 aperta il 2 ott 2018

Vedi su GitHub
 (13 commenti) (2 reazioni) (0 assegnatari)Go (881 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (23.759 star)
Metriche merge PR
 (Merge medio 3g 13h) (4 PR mergiate in 30 g)

Descrizione

Rbenv allows you to install plugins that hook into more functionality of the version manager. For example, rbenv-vars allows you to set project specific environment variables and are automatically loaded when Ruby is executed.

I've replicated this for asdf called asdf-vars, but right now I have to inject into the asdf-exec script to add this functionality. The downside is that this is going to cause a conflict when updating asdf in the future.

There's a list of other interesting plugins here: https://github.com/rbenv/rbenv/wiki/Plugins

These are the hooks that they support for plugins: https://github.com/rbenv/rbenv/wiki/Authoring-plugins#rbenv-hooks

Would adding hooks to support non-language plugins to asdf be something that would get accepted as a PR or is already on the roadmap?

Guida contributor