Klasse PGPainlessCLI

java.lang.Object
org.pgpainless.cli.PGPainlessCLI

public class PGPainlessCLI extends Object
This class merely binds PGPainless to SopCLI by injecting a SOPImpl instance. CLI command calls are then simply forwarded to SopCLI.execute(String[]).
  • Konstruktordetails

    • PGPainlessCLI

      public PGPainlessCLI()
  • Methodendetails

    • main

      public static void main(String[] args)
      Main method of the CLI application.
      Parameter:
      args - arguments
    • execute

      public static int execute(String... args)
      Execute the given command and return the exit code of the program.
      Parameter:
      args - command string array (e.g. ["pgpainless-cli", "generate-key", "Alice"])
      Gibt zurück:
      exit code