Highlight or mark installed versions when running `asdf list all <name>`
Is your feature request related to a problem? Please describe
When I run asdf list all <name> it is useful for me to compare my installed versions against the list of available versions.
For example, I currently have installed nodejs versions 14.18.1 and 16.13.1. I run asdf list all nodejs to see if there is a new minor or patch version bump for one of my installed major versions (i.e. 14.x.x or 16.x.x).
I don't always remember exactly what versions I have installed and want an easy way to visually understand that 14.18.2 is now available for me to install and 16.13.1 is still the latest.
Describe the proposed solution
Something like:
$ asdf list all nodejs
...
14.18.0
14.18.1 (installed) <-- either differentiate with text or colour highlight it
14.18.2
...
16.13.0
16.13.1 (installed) <-- either differentiate with text or colour highlight it
lts-gallium
...
Describe similar asdf features and why they are not sufficient
Running asdf list <name> and then asdf list all <name> is cumbersome.
Describe other workarounds you've considered
As above, running asdf list <name> and then asdf list all <name> is cumbersome and can mean scrolling back and forth to compare the two lists.
That would come in handy indeed.
Note that the command asdf latest --all will show you a list of the latest versions for each plugin with its installation status. The --all option is as of yet only available in the --HEAD version and has a bug (#1180) related to variants.
@MitchellCash Can I ask why asdf install nodejs latest 14 is not sufficient here?
If it installs, you know there was a new version, you then know what that version is, and you are updated to it immediately. If the resolved version already exists on your machine it doesn't install it again, so you know there was no new version for your filter.