Pretty command line apps with added JBang. See ConsoleUI and AsciiTable in action #java #jbang #picocli https://robintegg.com/2025/04/01/pretty-command-line-apps-with-added-jbang.html
Pretty command line apps with added JBang. See ConsoleUI and AsciiTable in action #java #jbang #picocli https://robintegg.com/2025/04/01/pretty-command-line-apps-with-added-jbang.html
#picocli: I used an `IExecutionStrategy` to require a positional parameter only for some commands
I was looking at `@ArgGroup` first, but that would not have had helped me here, teaching the simple program to download all registered devices from #Garmin, without a #GDPR archive
Btw, is Remko Popma here? Can't find him…
On Foojay :foojay:, @bazlur_rahman shows you how to create a script with #JBang and #PicoCLI to generate release notes. Check it out, complete steps and #Java code snippets included.
Started working on this new cli app using #picocli. It seems easier to work with than #ApacheCommonsCLI. Will share more about my cli app once I make enough progress!
For example: I wanna write a easy-to-write & read #commandline / #cli option-parser for #cpp where you dont need to know how exactly #getopt works and what global variables & states it has.
One of the best other libraries out there for such stuff is #picocli ( https://picocli.info/ ). So naturally I wanna build something similar in #cpp .
But theres soooo many problems: bc c++ dosnt has real generics, only templates, there is ofc no typeerasure, meaning that I constantly need to pass around all template params. Wich means that theres no easy way having a type `Option<Cmd>` (options for a specific command), inside a list like `std::vector`! Even tho the storage space of a pointer is the same: 8 bytes, and thanks to virtual methods calling the right methods isnt a problem either!
🛠️ Unleash precision and performance! The New Grails Forge (https://github.com/grails/grails-forge) is powered by Picocli and Rocker Template Engine, delivering an outstanding command-line experience. #GrailsCLI #GrailsForge #Grails6 #GrailsFramework #ApacheGroovy #Picocli #RockerTemplate
w00t! Stackd podcast episode #63 is out! One CLI to Rule them All
@aalmiray joins @kito99 and @dhinojosa to talk about #jreleaser, #jbang, #Jarviz, #AI, whether or not #Java is over the hill, #http4s, #picocli, #jcommander, and much more: https://www.pubhouse.net/2023/02/stackd-63-one-cli-to-rule-them-all.html
Want more #Java? Ok, I hear you. Here's the Java script I use to generate those… https://github.com/michael-simons/biking2/blob/public/src/cli/CreateGalleries.java
#Jbang for dependency management, #Picocli for well CLI, #thumbnailator and #metadata-extractor for image and exif data processing.