mirror of
https://codeberg.org/PGPainless/bc-sop.git
synced 2025-09-09 19:29:41 +02:00
Initialize BcSopCLI
This commit is contained in:
parent
1d697eb682
commit
1af2a3c121
4 changed files with 19 additions and 8 deletions
|
@ -27,6 +27,10 @@
|
|||
<groupId>org.pgpainless</groupId>
|
||||
<artifactId>sop-java-picocli</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcprov-jdk18on</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
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