XUtils

picocli

Parser library and framework for CLI. Usage help with ANSI colors. Autocomplete. Nested subcommands and more.


Releases

Documentation

Older

Articles & Presentations

русский

Español

Français

Português

日本語

中文

Mailing List

Join the picocli Google group if you are interested in discussing anything picocli-related and receiving announcements on new releases.

Credit

Reallinfo designed the picocli logo! Many thanks!

Commitments

This project follows semantic versioning and adheres to the Zero Bugs Commitment.

Contribute by helping to promote picocli

If you like picocli, help others discover picocli:

Easy and impactful :sweat_smile:

  • Give picocli a star on GitHub!
  • Upvote my StackOverflow answer to “How do I parse command line arguments in Java?”
  • Upvote my Quora answer to “What is the best way to parse command-line arguments with Java?”

Spread the joy! :tada:

  • Tweet about picocli! What do you like about it? How has it helped you? How is it different from the alternatives?
  • Mention that your project uses picocli in the documentation of your project.
  • Show that your GitHub project uses picocli, with this badge in your README.md: picocli
[![picocli](https://img.shields.io/badge/picocli-4.7.6-green.svg)](https://github.com/remkop/picocli)

Preach it! :muscle:

  • Perhaps the most impactful way to show people how picocli can make their life easier is to write a blog post or article, or even do a video!

Download

You can add picocli as an external dependency to your project, or you can include it as source. See the source code. Copy and paste it into a file called CommandLine.java, add it to your project, and enjoy!

Gradle

implementation 'info.picocli:picocli:4.7.6'

Maven

<dependency>
  <groupId>info.picocli</groupId>
  <artifactId>picocli</artifactId>
  <version>4.7.6</version>
</dependency>

Scala SBT

libraryDependencies += "info.picocli" % "picocli" % "4.7.6"

Ivy

<dependency org="info.picocli" name="picocli" rev="4.7.6" />

Grape

@Grapes(
    @Grab(group='info.picocli', module='picocli', version='4.7.6')
)

Leiningen

[info.picocli/picocli "4.7.6"]

Buildr

'info.picocli:picocli:jar:4.7.6'

JBang

//DEPS info.picocli:picocli:4.7.6

Articles

  • coming soon...