asdf-vm / asdf-vm/asdf

ASDF Plugin Standard Library

Open
#1,318 26 comments 5 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
25.6k
Forks
941
Avg merge
9h 24m
Merged PRs (30d)
3

Description

### Is your feature request related to a problem? Please describe

Looking at or developing plugins and seeing a lot of code repetition. It seems everyone has to start from 0 when creating a plugin. There are some really thoughtful plugins out there, like

https://github.com/kennyp/asdf-golang

and

https://github.com/asdf-community/asdf-hashicorp

such as in the ability to override the `architecture` for the install using an environment variable (e.g. `ASDF_GOLANG_OVERWRITE_ARCH`).

### Describe the proposed solution

It would be really nice if there was a standard library or something like that so that plugins could be easily updated to include new features and that sort of thing.

### Describe similar `asdf` features and why they are not sufficient

copy/paste... because... ya...

### Describe other workarounds you've considered

I'd be willing to start such a project if this is not already being done somewhere. Please let me know. (Also, I would have posted this as a `discussion` if that was enabled).

Thank you for your time!

Contributor guide

Open the contributing guide

Research direction

Review the examples in asdf-golang and asdf-hashicorp, especially the architecture override described in the issue. Define the standard library's scope, plugin integration, and acceptance criteria before choosing implementation files or tests; the issue names none.

Written by the indexing model from the issue text.

Assessment

Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.