jdx / mise

dev tools, env vars, task runner

Home Page:https://mise.jdx.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make asdf compatible when writing tool names to .tool-versions

naotama2002 opened this issue · comments

When I run mise local {golang|go|nodejs|node} x.xx.x, it writes go x.xx.x or node x.xx.x in .tool-versions, I want you to write golang x.xx.x or nodejs x.xx.x.

Go / Nodejs in .tool-version is expected to be written as golang / nodejs, e.g. Renovate's asdf manager can't handle go / node correctly. if you can match asdf plugin spec, we will use mise Everyone is happy.

command

$ mise local golang 1.21.6
$ mise local nodejs 20.11.0

now

.tool-versions

go 1.21.6
node 20.11.0

request

.tool-versions

golang 1.21.6
nodejs 20.11.0