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

Add option to rtx current command to return machine-readable active version for a specified plugin #30

Closed
pedropombeiro opened this issue Jan 28, 2023 · 0 comments · Fixed by #32

Comments

@pedropombeiro
Copy link

pedropombeiro commented Jan 28, 2023

It would be useful to have a way for rtx current [PLUGIN] to return the bare version of the plugin so that it can be used in scripts. Currently, it returns a version that is not easily parseable from a script:

$ rtx current golang
-> golang     1.17.5             (set by ~/.tool-versions)
@pedropombeiro pedropombeiro changed the title Add option to rtx current command tothat returns currently active version for a specified plugin Add option to rtx current command to return machine-readable active version for a specified plugin Jan 28, 2023
@jdx jdx closed this as completed in #32 Jan 28, 2023
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

Successfully merging a pull request may close this issue.

1 participant