sdkman / sdkman-cli

The SDKMAN! Command Line Interface
https://sdkman.io
Apache License 2.0
6.08k stars 629 forks source link

Cache available versions #663

Open reitzig opened 6 years ago

reitzig commented 6 years ago

Please tick one:

Please explain the Issue / Feature Request here:

Store available candidate versions, just like the list of candidates.

Rationale: While versions can be retrieved via sdk ls $candidate, or

curl -s https://api.sdkman.io/2/candidates/java/linux64/versions/all

if you want to deal with the list programmatically, it's a bit much overhead for interactive applications. sdk update could easily store lists of available versions, e.g. as CSV in

.sdkman/var/versions/$candidate

(which could even deprecate .sdkman/var/candidates). Side note: storing candidates and versions one per line might be more helpful for consuming shell scripts.

Concrete use cases:

marc0der commented 6 years ago

Cache available versions

mustaphazorgati commented 6 months ago

Hi @marc0der,

is this issue dead?