Package org.pgpainless.cli
Class PGPainlessCLI
java.lang.Object
org.pgpainless.cli.PGPainlessCLI
This class merely binds PGPainless to
SopCLI
by injecting a SOPImpl
instance.
CLI command calls are then simply forwarded to SopCLI.execute(String[])
.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PGPainlessCLI
public PGPainlessCLI()
-
-
Method Details
-
main
Main method of the CLI application.- Parameters:
args
- arguments
-
execute
Execute the given command and return the exit code of the program.- Parameters:
args
- command string array (e.g. ["pgpainless-cli", "generate-key", "Alice"])- Returns:
- exit code
-