From a JBang Quarkus Project.
Example integration for Telescope & RHACS
Original project in Python https://github.com/RH-Telescope/telescope-integration-scripts
You must install jbang cli before.
./jbang src/main.java 1
./jbang src/main.java -h