maxandersen/jbang
Project ID: 29364
Description
Unleash the power of Java for shell scripting
Want to learn or explore Java instantly without setup ?
Do you like Java but uses python, groovy, kotlin or similar languages for your scripts ?
Ever tried out Java 10+ support for running .java files directly in your shell but felt it was a bit too cumbersome ?
Then try jbang which lets you do this:
$ jbang --init=cli hello.java
$ jbang hello.java Max!
[jbang] Resolving dependencies...
[jbang] Resolving info.picocli:picocli:4.1.4...Done
[jbang] Dependencies resolved
[jbang] Building jar...
Hello Max!
$ jbang hello.java -h
Usage: hello [-hV] <greeting>
hello made with jbang
<greeting> The greeting to print
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
Instant cli app generated built using java and picocli as a dependency that was fetched as needed for the compilation and execution.
Installation Instructions
Instructions not filled in by author. Author knows what to do. Everybody else should avoid this repo.
Active Releases
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
Release | Architectures | Repo Download |
---|---|---|
Centos-stream 8 | aarch64 (7)*, ppc64le (9)*, x86_64 (8)* | Centos-stream 8 (170 downloads) |
EPEL 6 | i386 (11)*, x86_64 (13)* | EPEL 6 (0 downloads) |
EPEL 7 | ppc64le (8)*, x86_64 (10)* | EPEL 7 (270 downloads) |
EPEL 8 | aarch64 (10)*, ppc64le (10)*, x86_64 (11)* | EPEL 8 (271 downloads) |
Fedora 39 | aarch64 (6)*, i386 (8)*, ppc64le (7)*, x86_64 (6)* | Fedora 39 (0 downloads) |
Fedora 40 | aarch64 (4)*, i386 (4)*, ppc64le (4)*, x86_64 (4)* | Fedora 40 (37 downloads) |
Fedora 41 | aarch64 (2)*, i386 (0)*, ppc64le (0)*, x86_64 (0)* | Fedora 41 (11 downloads) |
Fedora rawhide | aarch64 (10)*, i386 (9)*, ppc64le (10)*, x86_64 (9)* | Fedora rawhide (288 downloads) |
Mageia 8 | aarch64 (12)* | Mageia 8 (174 downloads) |
Mageia cauldron | aarch64 (11)*, i686 (0)*, x86_64 (10)* | Mageia cauldron (293 downloads) |
openSUSE Tumbleweed | i586 (10)*, ppc64le (9)*, x86_64 (12)* | openSUSE Tumbleweed (281 downloads) |
* Total number of downloaded packages.