-
Notifications
You must be signed in to change notification settings - Fork 159
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
revise syntax for main class designation #166
Comments
Yes, I think that would be a good idea. For a moment I thought about using |
# is treated as a comment in bash thus it will just cancel out everything else. |
Yeah, you'd have to quote the entire argument. So a flag is just better in every way IMO. 👍 |
done; |
after implementing support for doing
jbang info.picocli:picocli-codegen:4.2.0/picocli.codegen.aot.graalvm.ReflectionConfigGenerator
I realised that specifying the main class that way doesn't work for plain jar based launches, ie.jbang helloworld.jar/blah.main
will fail as no (good) way to know/blah.main
is not the intended file.my first thought is to add a
--main
or similar flag; would also make it much more explicit and code simipler to be honest.@quintesse wdyt?
The text was updated successfully, but these errors were encountered: