mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Add note on the recommended way to manually sort versions.
This commit is contained in:
parent
4f15d2cbe6
commit
4a4d9022f0
@ -25,7 +25,7 @@ Must print a string with a space-seperated list of versions. Example output woul
|
||||
|
||||
Note that the newest version should be listed last so it appears closer to the user's prompt. This is helpful since the `list-all` command prints each version on it's own line. If there are many versions it's possible the early versions will be off screen.
|
||||
|
||||
If versions are being pulled from releases page on a website it's recommended to not sort the versions if at all possible. Often the versions are already in the correct order or, in reverse order, in which case something like `tac` should suffice.
|
||||
If versions are being pulled from releases page on a website it's recommended to not sort the versions if at all possible. Often the versions are already in the correct order or, in reverse order, in which case something like `tac` should suffice. If you must sort versions manually you cannot rely on `sort -V` since it is not supported on OSX. An alternate sort function [like this is a better choice](https://github.com/vic/asdf-idris/blob/master/bin/list-all#L6).
|
||||
|
||||
#### bin/install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user