Registry / cli / picocli

picocli

JSON →
library4.7.7javamavenunverified

Picocli is a Java command-line parser with annotations, autocomplete, and ANSI colors.

<dependency> <groupId>info.picocli</groupId> <artifactId>picocli</artifactId> <version>4.7.7</version> </dependency>
INSTALL
IMPORT
SIG · PICOCLI
P
picocli
clijavav4.7.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CommandLine
picocli.CommandLine

Defines a simple CLI command with picocli.

import picocli.CommandLine; import picocli.CommandLine.Command; import picocli.CommandLine.Parameters; @Command(name = "hello", description = "Says hello") public class Hello implements Runnable { @Parameters(paramLabel = "name", description = "Your name") private String name; @Override public void run() { System.out.println("Hello, " + name); } public static void main(String[] args) { new CommandLine(new Hello()).execute(args); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.7.7latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Amazon
1
Resources
picocli — mvn dependency:get picocli · libregistry