mirror of
https://codeberg.org/PGPainless/cert-d-pgpainless.git
synced 2024-12-22 05:17:56 +01:00
Rename Import task to Insert
This commit is contained in:
parent
a417c322b3
commit
d0413f2169
2 changed files with 6 additions and 6 deletions
|
@ -9,7 +9,7 @@ import org.pgpainless.certificate_store.SharedPGPCertificateDirectoryAdapter;
|
||||||
import pgp.cert_d.BaseDirectoryProvider;
|
import pgp.cert_d.BaseDirectoryProvider;
|
||||||
import pgp.cert_d.SharedPGPCertificateDirectoryImpl;
|
import pgp.cert_d.SharedPGPCertificateDirectoryImpl;
|
||||||
import pgp.cert_d.cli.commands.Get;
|
import pgp.cert_d.cli.commands.Get;
|
||||||
import pgp.cert_d.cli.commands.Import;
|
import pgp.cert_d.cli.commands.Insert;
|
||||||
import pgp.cert_d.cli.commands.MultiImport;
|
import pgp.cert_d.cli.commands.MultiImport;
|
||||||
import pgp.cert_d.jdbc.sqlite.DatabaseSubkeyLookup;
|
import pgp.cert_d.jdbc.sqlite.DatabaseSubkeyLookup;
|
||||||
import pgp.cert_d.jdbc.sqlite.SqliteSubkeyLookupDaoImpl;
|
import pgp.cert_d.jdbc.sqlite.SqliteSubkeyLookupDaoImpl;
|
||||||
|
@ -25,7 +25,7 @@ import java.sql.SQLException;
|
||||||
name = "certificate-store",
|
name = "certificate-store",
|
||||||
description = "Store and manage public OpenPGP certificates",
|
description = "Store and manage public OpenPGP certificates",
|
||||||
subcommands = {
|
subcommands = {
|
||||||
Import.class,
|
Insert.class,
|
||||||
MultiImport.class,
|
MultiImport.class,
|
||||||
Get.class,
|
Get.class,
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,11 +14,11 @@ import picocli.CommandLine;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
@CommandLine.Command(name = "import",
|
@CommandLine.Command(name = "insert",
|
||||||
description = "Import or update a certificate")
|
description = "Insert or update a certificate")
|
||||||
public class Import implements Runnable {
|
public class Insert implements Runnable {
|
||||||
|
|
||||||
private static final Logger LOGGER = LoggerFactory.getLogger(Import.class);
|
private static final Logger LOGGER = LoggerFactory.getLogger(Insert.class);
|
||||||
private final MergeCallback mergeCallback = new DefaultMergeCallback();
|
private final MergeCallback mergeCallback = new DefaultMergeCallback();
|
||||||
|
|
||||||
@Override
|
@Override
|
Loading…
Reference in a new issue