version-fox / version-fox/vfox
[Feature]: alias | Alias a version to a common name
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Go
- Stars
- 4k
- Forks
- 157
- Avg merge
- 1h 3m
- Merged PRs (30d)
- 5
Description
1. Your usage scenarios?
Switch SDK versions faster, similar to fnm
fnm alias [OPTIONS] <TO_VERSION> <NAME>
2. What is your expected outcome?
# 用大版本号替代具体版本号
vfox alias nodejs@v22.9.0 node22
# 设置默认使用版本
vfox alias nodejs@v20.17.0 default-node
Switching nodejs version :
vfox use node22
vfox use -g defautl-node
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.
Research direction
Start by reading the CLI handling for vfox alias and the existing vfox use and vfox use -g commands. Trace how version names are resolved, then define completion as allowing names such as node22 and default-node to select the specified Node.js versions through those commands.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100