Skip to content
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

elan toolchain list missing info #49

Open
lovettchris opened this issue Oct 16, 2021 · 2 comments
Open

elan toolchain list missing info #49

lovettchris opened this issue Oct 16, 2021 · 2 comments

Comments

@lovettchris
Copy link
Contributor

lovettchris commented Oct 16, 2021

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
@gebner
Copy link
Member

gebner commented Oct 18, 2021

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

@lovettchris
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants