-
Notifications
You must be signed in to change notification settings - Fork 899
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
Machine-readable output #450
Comments
Yes indeed. Sorry for breaking your stuff, but I did make the decision to cater to human-reading first. Since this is mostly for shell scripts I'd guess it's best to do something simple and line-oriented. The default 'smart' behavior of Perhaps a scheme like
|
It would be useful in IntelliJ Rust as well, though I would also prefer simple text format. |
This looks like it could be useful for Neon too -- +1 to shell script-friendliness. For the time being I may end up parsing the output of |
Any progress on this? |
This should be useful to shell scripts (via command substitution) and other programs that need this information. Related: rust-lang#450
Still needed |
I used to have a function in my shell that shows when the current directory is running on a multirust toolchain other than stable. The current formatting is making the port to rustup.rs difficult. An option to generate machine-readable output (preferably JSON) on relevant commands like
rustup show
andrustup override list
would be great.The text was updated successfully, but these errors were encountered: