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

Other Useful Business Software
Build AI Apps with Gemini 3 on Vertex AI Icon
Build AI Apps with Gemini 3 on Vertex AI

Access Google’s most capable multimodal models. Train, test, and deploy AI with 200+ foundation models on one platform.

Vertex AI gives developers access to Gemini 3—Google’s most advanced reasoning and coding model—plus 200+ foundation models including Claude, Llama, and Gemma. Build generative AI apps with Vertex AI Studio, customize with fine-tuning, and deploy to production with enterprise-grade MLOps. New customers get $300 in free credits.
Try Vertex AI 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