elan icon indicating copy to clipboard operation
elan copied to clipboard

elan toolchain list missing info

Open lovettchris opened this issue 3 years ago • 2 comments

It would be very useful if elan toolchain list also reported the path that a "linked" toolchain is pointing to. For example, today I get this output:

stable (default)
leanprover/lean:stable
master
vtec

but it would be cool if the last 2 which are linked to a local path on my PC told me that path, kind of "ls -al" does. Something like this:

stable (default)
leanprover/lean:stable
master                    -> /c/msys64/home/clovett/git/lean4/build/release/stage1
vtec                      -> /c/msys64/home/clovett/git/Vtec234/lean4/build/release/stage1

lovettchris avatar Oct 16 '21 06:10 lovettchris

It would also be cool if the output was machine-readable.

gebner avatar Oct 18 '21 10:10 gebner

Yeah the "(default)" string also needs careful management in code, we could have a elan toolchain list --json option perhaps.

lovettchris avatar Oct 18 '21 18:10 lovettchris