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

Write a current command that allows shell-friendly output #252

Open
marc0der opened this issue Jul 10, 2024 · 0 comments
Open

Write a current command that allows shell-friendly output #252

marc0der opened this issue Jul 10, 2024 · 0 comments

Comments

@marc0der
Copy link
Member

A new current command should be written that supports all the functionality of its bash predecessor. A new feature was requested that will allow you to provide a flag (perhaps called --version) that will only return the version of the specified candidate.

For instance:

sdk current --version java
21.0.1-tem%

Note: no newline (shown by the %).

If the flag is not provided, the output should be friendly to humans.

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

1 participant