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

Invoking LayrryLauncher with no args should print usage and quit #81

Closed
aalmiray opened this issue Feb 2, 2021 · 5 comments · Fixed by #85
Closed

Invoking LayrryLauncher with no args should print usage and quit #81

aalmiray opened this issue Feb 2, 2021 · 5 comments · Fixed by #85
Labels
enhancement New feature or request released Issue has been released
Milestone

Comments

@aalmiray
Copy link
Contributor

aalmiray commented Feb 2, 2021

Currently it prints an exception and quits

Exception in thread "main" com.beust.jcommander.ParameterException: The following option is required: [--layers-config]
	at com.beust.jcommander.JCommander.validateOptions(JCommander.java:388)
	at com.beust.jcommander.JCommander.parse(JCommander.java:357)
	at com.beust.jcommander.JCommander.parse(JCommander.java:335)
	at org.moditect.layrry.launcher.LayrryLauncher.launch(LayrryLauncher.java:50)
	at org.moditect.layrry.launcher.LayrryLauncher.main(LayrryLauncher.java:41)
@aalmiray aalmiray added the enhancement New feature or request label Feb 2, 2021
@gunnarmorling
Copy link
Member

gunnarmorling commented Feb 2, 2021 via email

@gunnarmorling
Copy link
Member

gunnarmorling commented Feb 2, 2021 via email

@aalmiray
Copy link
Contributor Author

aalmiray commented Feb 2, 2021

Though to be fully compatible with all possible configured parsers the code should iterate over every available LayersConfigParser instance and check if "layers." + parser.getPreferredFileExtension() exists in the current launch directory.

@aalmiray aalmiray changed the title Invoking LayrryLauncher with no args shuld print usage and quit Invoking LayrryLauncher with no args should print usage and quit Feb 2, 2021
@gunnarmorling
Copy link
Member

gunnarmorling commented Feb 2, 2021 via email

aalmiray added a commit to aalmiray/layrry that referenced this issue Feb 2, 2021
aalmiray added a commit to aalmiray/layrry that referenced this issue Feb 2, 2021
aalmiray added a commit to aalmiray/layrry that referenced this issue Feb 2, 2021
aalmiray added a commit to aalmiray/layrry that referenced this issue Feb 2, 2021
aalmiray added a commit to aalmiray/layrry that referenced this issue Feb 2, 2021
aalmiray added a commit to aalmiray/layrry that referenced this issue Feb 2, 2021
aalmiray added a commit to aalmiray/layrry that referenced this issue Feb 2, 2021
aalmiray added a commit to aalmiray/layrry that referenced this issue Feb 2, 2021
aalmiray added a commit to aalmiray/layrry that referenced this issue Feb 2, 2021
gunnarmorling pushed a commit that referenced this issue Feb 2, 2021
@gunnarmorling gunnarmorling added this to the 1.0.0.Beta1 milestone Feb 8, 2021
@github-actions
Copy link
Contributor

Released in v1.0.0.Alpha2 -> https://github.com/moditect/layrry/releases/tag/v1.0.0.Alpha2

@github-actions github-actions bot added the released Issue has been released label Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released Issue has been released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants