jbang
picocli
jbang | picocli | |
---|---|---|
12 | 29 | |
1,349 | 4,714 | |
0.7% | - | |
8.5 | 8.8 | |
5 days ago | 8 days ago | |
Java | Java | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jbang
-
Java kernel for Jupyter - update
Its library made by maven folks that allows easy embedding of the resolver. Im about to move it it in jbang https://github.com/jbangdev/jbang/pull/1604
-
Show HN: Zero-dependency Java framework out of beta
Congratulations. I believe there is room for a micro framework that is smaller than Javalin or SparkJava.
That said, if you want to cash even more on minimalism, you may want to provide a single-file example using JBang[0].
[0]. https://jbang.dev/
-
Paving the on-ramp [Brian Goetz]
These would be awesome changes and fully in the spirit of what we managed to do already in jbang (https://jbang.dev). Having the verbosity removed would make it even better.
-
Getting back into Java after 12-15 years away?
big part of why I made jbang.dev so if you want to quickly play with all the suggested technologies in this thread without being a java build tool master do give it a go.
-
What is the thing that makes Java hard to get started ?
(jbang being https://jbang.dev)
-
Processing images in Java with OpenCV and Quarkus
Quarkus provides the option to create command line apps, and this is so kool, since you can also compile these into native. We are just going to make simple app for demo purpose in this blog. But if you are looking into creating some serious nirvana of cli apps take a look at this guide at quarkus.io using picocli or JBang
-
Need Guidance: How to compile an application so it can run as application without Java IDE on another computer. (Example: ./runWatchFolders )
https://jbang.dev provides a bunch of ways to build and distribute simple java apps.
- Show HN: Prig – like Awk, but uses Go for “scripting”
-
JBang can now be used to make java one-liners
See https://twitter.com/maxandersen/status/1494600204590501889?s=20 and release at https://github.com/jbangdev/jbang/releases/tag/v0.90.0
-
Spring Boot 2.6.2 on Raspberry Pi 4
~$ sudo apt -q install zip ~$ curl -s "https://get.sdkman.io" | bash ~$ source "$HOME/.sdkman/bin/sdkman-init.sh" ~$ sdk version ~$ ==== BROADCAST ================================================================= * 2022-01-06: connor 1.2.1 available on SDKMAN! https://github.com/helpermethod/connor/releases/tag/v1.2.1 * 2022-01-04: micronaut 3.2.4 available on SDKMAN! * 2022-01-02: jbang 0.86.0 available on SDKMAN! https://github.com/jbangdev/jbang/releases/tag/v0.86.0 ================================================================================ SDKMAN 5.13.1 ~$
picocli
-
GraalVM for JDK 21 is here
Picocli allows using a compiler annotation processor to generate classes at compile time instead [0].
[0]: https://github.com/remkop/picocli/blob/main/picocli-codegen/...
-
Any library you would like to recommend to others as it helps you a lot? For me, mapstruct is one of them. Hopefully I would hear some other nice libraries I never try.
Picocli is a pretty good one for writing CLI apps
-
“Why I develop on Windows”
"and there are simply no good command line input parsing libraries for Java."
Looks like author missed the most obvious and popular OSS one: https://picocli.info/
-
Java 20 / JDK 20: General Availability
The command line example gave me the "ick". It is usually preferrable to parse the command line arguments into one instance of a custom "command class", rather than into a list of things. Like jcommander, picocli or jbock do.
-
any opinion good or bed about a code that smells?
Complex argument parsing needs to be auto-generated by libraries like picocli. Even if you need something custom, it'd be quicker to write an Annotation processor from scratch than editing that file.
-
Owl: A toolkit for writing command-line user interfaces in Elixir
https://github.com/remkop/picocli
"Picocli-based applications can be ahead-of-time compiled to a GraalVM native image, with extremely fast startup time and lower memory requirements, which can be distributed as a single executable file."
https://picocli.info/quick-guide.html
-
Building a Java CLI. How can I make it more powershell-friendly
Using picocli to handle your command line options gives you the best chance to automatically generate an ArgumentCompleter script in the future, but won't help you today (other than possibly making your command line handling more standardized & easier).
-
must known frameworks/libs/tech, every senior java developer must know(?)
Picocli
-
🔍 Validate New-Caledonia Phone Numbers from cli ⌨️
Then we released a JBang! and picocli based cli that would be, on any OS running a jvm runtime :
-
📲 Inspired by Twilio we started to build our own (pico)cli to send sms
picocli : "a mighty tiny command line interface"
What are some alternatives?
SDKMan - The SDKMAN! Command Line Interface
Spring Shell 3 - Spring based shell
nio - Low Overhead Numerical/Native IO library & tools
JCommander - Command line parsing framework for Java
quarkus-opencv - OpenCV extension for Quarkus
args4j - args4j
Quarkus - Quarkus: Supersonic Subatomic Java.
Airline - Java annotation-based framework for parsing Git like command line structures
quarkus-opencv-examples - OpenCV examples with Quarkus
JLine - JLine is a Java library for handling console input.
javalin.github.io - Javalin website source code
JewelCLI - JewelCli uses an annotated interface definition to automatically parse and present command line arguments