asdf should auto install plugins for tool names it has in the short name repo
airtonix opened this issue · 3 comments
Is your feature request related to a problem? Please describe
it would be nice if i didn't have to keep this kind of thing around in every asdf repo to quickly help my team mates onboard: https://raw.githubusercontent.com/airtonix/bankdownloader/master/setup.sh
Describe the proposed solution
if a .tool-version
file looks like :
nodejs 18.0.0
then asdf install
should:
- check if
nodejs
plugin is not installed- then it should attempt
asdf plugin add nodejs
- then it should attempt
- then proceed as normal
Describe similar asdf
features and why they are not sufficient
the above script
Describe other workarounds you've considered
giving up technology and becoming a goat herder.
+1 on this, it's annoying to have to manually add every plugin. I'd love a flag on asdf install
to say "add any uninstalled plugin required".
I'd actually go one further and say .tool-version should support adding the repo for non-shortname plugins so you wouldn't need to run asdf plugin add ...
at all. Something like this:
temporal 0.10.7 https://github.com/asdf-community/asdf-temporal
+1 on extending .tool-versions
to support long names for plugins. That'd be extremely helpful for constructing a reproducible environment.
just use rtx. It has all of this.