version-fox / version-fox/vfox
[Feature]: support .tool-versions in parent directories
Open
@aooohan is already working on this.
Since May 20, 2024.
enhancement
- Dominant language
- Go
- Stars
- 4k
- Forks
- 157
- Avg merge
- 1h 3m
- Merged PRs (30d)
- 5
Description
asdf supports creating a .tool-versions in some directory. These versions are used in this directory and all sub-directories (see)
1. Your usage scenarios?
create following structure
test
- .tool-versions => nodejs 21.x
- foo
- - .tool-versions => nodejs 22.x
- bar
- - no tool-versions
If I access ~/test/bar I always want to have Node Versoin 21.x active. At the moment the previous node version is active
2. What is your expected outcome?
The idea is that I can automatically activate the respective version for certain folder structures without having to actively maintain this in each directory.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.