Run class from JAR with alias in catalog? #1364
-
Is there a simple jbang catalog alias example, how to run an existing class from a JAR? |
Beta Was this translation helpful? Give feedback.
Answered by
maxandersen
May 14, 2022
Replies: 1 comment 5 replies
-
So not the main class? Something like |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
axkr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So not the main class?
Something like
jbang alias add --name myalgias --main other.mainClass your.jar
should work