asdf-vm/asdf

Non-language plugins

开放

#367 创建于 2018年10月2日

 (13 条评论) (2 个反应) (0 位负责人)Go (881 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (23,759 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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?

贡献者指南