-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asdf: update page #15750
base: main
Are you sure you want to change the base?
asdf: update page #15750
Conversation
Hello! I've noticed something unusual when checking this PR:
Is this intended? If so, just ignore this comment. Otherwise, please double-check the commits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! Please sign the CLA.
Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's wrong, old asdf local
translate to asdf set
without option not with asdf set -p
.
The new asdf set behaves the same as asdf local by default
Also you can see this flag is not by default:
➜ asdf set --help
NAME:
asdf set
USAGE:
asdf set [command options]
OPTIONS:
--home, -u The version should be set in the current users home directory (default: false)
--parent, -p The version should be set in the closest existing .tool-versions file in a parent directory (default: false)
--help, -h show help
|
||
- Set local version for a package: | ||
|
||
`asdf local {{name}} {{version}}` | ||
`asdf set -p {{name}} {{version}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`asdf set -p {{name}} {{version}}` | |
`asdf set {{name}} {{version}}` |
|
||
- 设置软件包的本地版本: | ||
|
||
`asdf local {{软件包名}} {{版本}}` | ||
`asdf set -p {{软件包名}} {{版本}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`asdf set -p {{软件包名}} {{版本}}` | |
`asdf set {{软件包名}} {{版本}}` |
|
||
- Define a versão local de um pacote: | ||
|
||
`asdf local {{nome}} {{versão}}` | ||
`asdf set -p {{nome}} {{versão}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`asdf set -p {{nome}} {{versão}}` | |
`asdf set {{nome}} {{versão}}` |
|
||
- 로컬 버전 패키지 설치: | ||
|
||
`asdf local {{이름}} {{버전}}` | ||
`asdf set -p {{이름}} {{버전}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`asdf set -p {{이름}} {{버전}}` | |
`asdf set {{이름}} {{버전}}` |
|
||
- パッケージのローカルバージョンの設定: | ||
|
||
`asdf local {{パッケージ名}} {{バージョン}}` | ||
`asdf set -p {{パッケージ名}} {{バージョン}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`asdf set -p {{パッケージ名}} {{バージョン}}` | |
`asdf set {{パッケージ名}} {{バージョン}}` |
|
||
- Imposta la versiona locale per un pacchetto: | ||
|
||
`asdf local {{nome}} {{versiona}}` | ||
`asdf set -p {{nome}} {{versiona}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`asdf set -p {{nome}} {{versiona}}` | |
`asdf set {{nome}} {{versiona}}` |
|
||
- Setel versi bawaan/default paket piranti lunak yang akan digunakan secara lokal (pengguna saat ini): | ||
|
||
`asdf local {{nama}} {{versi}}` | ||
`asdf set -p {{nama}} {{versi}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`asdf set -p {{nama}} {{versi}}` | |
`asdf set {{nama}} {{versi}}` |
|
||
- Fix en local la version d'un paquet : | ||
|
||
`asdf local {{nom}} {{version}}` | ||
`asdf set -p {{nom}} {{version}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`asdf set -p {{nom}} {{version}}` | |
`asdf set {{nom}} {{version}}` |
|
||
- Lege die lokale Version für ein Paket fest: | ||
|
||
`asdf local {{name}} {{version}}` | ||
`asdf set -p {{name}} {{version}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`asdf set -p {{name}} {{version}}` | |
`asdf set {{name}} {{version}}` |
Checklist
common
,linux
,osx
,windows
,sunos
,android
, etc.The version 0.16 of asdf have removed the
global
andlocal
commands and it usesset
now: https://asdf-vm.com/manage/versions.html#set-versionI also updated the english, pt_Br and italian versions with on extra command, not exceeding the 8 max (it has 7 now). With the other languages, I just updated the
local
andglobal
command.Hope that's good enough. Best regards,