remkop/picocli — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small Java library that makes it easy for people to create polished command line tools without a lot of boilerplate. I want developers to define commands with annotations or code, then have the library parse options, positional values, typed values, maps, passwords, and nested subcommands for them.

It should generate nice help and version output, support ANSI colors when the terminal allows it, show clear errors, and make it simple to add TAB completion for shells like bash and zsh. It should also handle advanced cases like grouped short options, negatable options, quoted values, argument files, custom converters, and mutually exclusive or dependent option groups.

Please keep it friendly for Java projects, but usable from Kotlin, Groovy, and Scala too. A big goal is that apps can include the library as a single source file if they want, and can be compiled into fast GraalVM native executables. Add examples, tests, and documentation so someone can quickly build their first command line app with it.

Want more depth? Deep Reverse