mirror of
https://codeberg.org/PGPainless/bc-sop.git
synced 2025-12-07 23:11:07 +01:00
Initialize BcSopCLI
This commit is contained in:
parent
1d697eb682
commit
1af2a3c121
4 changed files with 19 additions and 8 deletions
14
bcsop-cli/src/main/java/org/pgpainless/BcSopCLI.java
Normal file
14
bcsop-cli/src/main/java/org/pgpainless/BcSopCLI.java
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package org.pgpainless;
|
||||
|
||||
import org.pgpainless.bouncycastle.sop.BouncyCastleSOP;
|
||||
import sop.cli.picocli.SopCLI;
|
||||
|
||||
public class BcSopCLI {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SopCLI.EXECUTABLE_NAME = "bc-sop";
|
||||
SopCLI.setSopInstance(new BouncyCastleSOP());
|
||||
int exitCode = SopCLI.execute(args);
|
||||
System.exit(exitCode);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
package org.pgpainless;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello world!");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue