If you are not familiar with
jbang, I suggest you read Using Java for scripting, with Jbang.
jbang allows you to launch any kind of java application or library packaged as a jar available locally, via http/https download or in a Maven repository.
jbang supports creating script catalogs on your github repo. These catalogs are easily sharable through implicit aliasing feature.
As described in jbang documentation, executing
jbang hello@acme will run
hello alias found in
acme/jbang-catalog/jbang-catalog.json of the default branch searched on github, gitlab and bitbucket in that order.
This is very convenient to share your jbang scripts with others.
Github has many catalog repositories. Following table tries to consolidate aliases from public repositories on github.
To execute any alias, run
jbang << JBang Alias command >>.
|Always verify any script code before running it. I am not responsible for whatever it does!|
Learn more about jbang at https://jbang.dev.
On this blog, I post articles about different technologies like Java, MuleSoft, and much more.
You can get updates for new Posts in your email by subscribing to JavaStreets feed here -