Package org.pgpainless.cli
Class PGPainlessCLI
- java.lang.Object
-
- org.pgpainless.cli.PGPainlessCLI
-
public class PGPainlessCLI extends java.lang.ObjectThis class merely binds PGPainless toSopCLIby injecting aSOPImplinstance. CLI command calls are then simply forwarded toSopCLI.execute(String[]).
-
-
Constructor Summary
Constructors Constructor Description PGPainlessCLI()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intexecute(java.lang.String... args)Execute the given command and return the exit code of the program.static voidmain(java.lang.String[] args)Main method of the CLI application.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Main method of the CLI application.- Parameters:
args- arguments
-
execute
public static int execute(java.lang.String... args)
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
-
-