Picocli is a one-file framework for creating Java command-line applications with almost zero code. It supports a variety of command-line syntax styles including POSIX, GNU, MS-DOS and more. It generates highly customizable usage help messages that use ANSI colors and styles to contrast important elements and reduce the cognitive load on the user. Picocli-based applications can have command line TAB completion showing available options, option parameters, and subcommands, for any level of nested subcommands. 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. Picocli generates beautiful documentation for your application (HTML, PDF and Unix man pages). Another distinguishing feature of picocli is how it aims to let users run picocli-based applications without requiring picocli as an external dependency.

Features

  • Picocli generates beautiful documentation for your application
  • Picocli aims to be the easiest way to create rich command line applications that can run on and off the JVM
  • Picocli makes it easy to follow Command Line Interface Guidelines
  • Annotate your class and picocli initializes it from the command line arguments
  • Convert the input to strongly typed values in the fields of your class
  • Picocli also provides a programmatic API, separately from the annotations API

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow picocli

picocli Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of picocli!

Additional Project Details

Operating Systems

Mac

Programming Language

Java

Related Categories

Java Terminals, Java Build Tools, Java Frameworks

Registered

2022-05-17