1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-16 01:12:05 +01:00
pgpainless/pgpainless-cli
Paul Schaub b217b8b218
cli: Use dedicated shadow plugin for building fat jar
'gradle shadowJar' can be used to build a fat jar
'gradle jar' now only builds slim jar
2022-07-08 18:26:45 +02:00
..
src Create test util to write data to temp file 2022-06-19 16:59:42 +02:00
build.gradle cli: Use dedicated shadow plugin for building fat jar 2022-07-08 18:26:45 +02:00
pgpainless-cli Reuse compliance 2021-10-07 16:28:31 +02:00
README.md cli: Use dedicated shadow plugin for building fat jar 2022-07-08 18:26:45 +02:00

PGPainless-CLI

javadoc

PGPainless-CLI is an implementation of the Stateless OpenPGP Command Line Interface specification based on PGPainless.

It plugs pgpainless-sop into sop-java-picocli.

Build

To build an executable, gradle shadowJar should be sufficient. The resulting jar file can be found in pgpainless-cli/build/libs/.

Execute

The jar file produced in the step above is executable as is.

java -jar pgpainless-cli-XXX-all.jar help

Alternatively you can use the provided ./pgpainless-cli script to directly build and execute PGPainless' Stateless Command Line Interface from within Gradle.

To discover all available commands use

./pgpainless-cli help

Enjoy!