Add a new launcher cli option to select the version to launch#1859
Open
leMaik wants to merge 2 commits intochunky-dev:masterfrom
Open
Add a new launcher cli option to select the version to launch#1859leMaik wants to merge 2 commits intochunky-dev:masterfrom
leMaik wants to merge 2 commits intochunky-dev:masterfrom
Conversation
Member
Author
|
The second example above doesn't work because Maybe we should switch to some library that supports subcommands, like picocli or JCommander? |
Member
|
How would subcommands help? |
Member
Author
|
|
Member
|
I think there should be a way to do that as is, but if you want to switch to a better CLI parsing library I'm not against it. |
Member
Author
|
@ThatRedox I found a workaround 🎉 |
…e the release channel into a distinct option.
… launching with --update, bump the copyright year in the launcher.
2dd7c5b to
766312d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…and move the release channel into a distinct option.
This builds upon #1682 (which was never released, so the options change doesn't break anything) and allows stuff like
java -jar ChunkyLauncher.jar --releaseChannel snapshot --chunkyVersion latestto launch the latest snapshot, even if thestablechannel is the currently selected channel.Also you can now download and launch PR builds with a single command ✨