picocli
picocli copied to clipboard
Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps ca...
I defined a set of options in an ArgGroup in my main application class, and defined the options as CommandLine.ScopeType.INHERIT so that they will be available globally in subcommands (All...
Hi, I played around with the new PropertiesDefaultProvider implementation, I ended up with some code like: ``` package test; import picocli.CommandLine; import picocli.CommandLine.Command; import picocli.CommandLine.Parameters; import picocli.CommandLine.PropertiesDefaultProvider; public class PropertiesDefaultProviderTest...
Related to #879 and #877: If new annotations are added to support multi-value default/fallback values, then it makes sense to add new API that provides the multi-value equivalent of the...
We are trying to implement this code ``` public class TestCommands { public static void main(String[] args) { args = new String[]{ "-first", "-second", "-secondFirstSub", "-secondSecondSub", "-third", "-thirdFirstSub", "-thirdSecondSub", "-thirdThirdSub"...
`InitializationException` is thrown by picocli-codegen when `ArgGroup` is set on a class that has no direct options but extends one that has options. Example: ```java @CommandLine.ArgGroup SpecificOptions options; static class...
Useful in interactive applications (think: jline), especially to implement the bang `!` command to re-execute a previously issued command. For example: ``` // in interactive mode # re-run previous command...
Hi! I'm trying some Picocli+JLine features, and I noticed that the suggestions do not consider the position when the user is typing positional arguments: ```java @Command(name = "", subcommands =...
Currently something like the following requires special notation to work with GraalVM: ``` @CommandLine.Command(name = "create-controller", description = "Creates a controller and associated test") public class CreateControllerCommand extends CodeGenCommand {...
See https://shields.io/category/build Jenkins tests example. https://github.community/t/badge-support-for-test-results/146266
I'm having an issue where my Spring Boot app is taking 2-9 seconds to start just to error out. That's way too long for a CLI app, profiling with JProfiler...