#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
, @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.
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!
This project represents a Micronaut-based Grails project creator. Grails projects may be created using the browser interface, Command Line, or via CURL. - GitHub - grails/grails-forge: This project...
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