mirror of
https://codeberg.org/PGPainless/cert-d-pgpainless.git
synced 2024-12-21 21:07:57 +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.SharedPGPCertificateDirectoryImpl;
|
||||
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.jdbc.sqlite.DatabaseSubkeyLookup;
|
||||
import pgp.cert_d.jdbc.sqlite.SqliteSubkeyLookupDaoImpl;
|
||||
|
@ -25,7 +25,7 @@ import java.sql.SQLException;
|
|||
name = "certificate-store",
|
||||
description = "Store and manage public OpenPGP certificates",
|
||||
subcommands = {
|
||||
Import.class,
|
||||
Insert.class,
|
||||
MultiImport.class,
|
||||
Get.class,
|
||||
}
|
||||
|
|
|
@ -14,11 +14,11 @@ import picocli.CommandLine;
|
|||
|
||||
import java.io.IOException;
|
||||
|
||||
@CommandLine.Command(name = "import",
|
||||
description = "Import or update a certificate")
|
||||
public class Import implements Runnable {
|
||||
@CommandLine.Command(name = "insert",
|
||||
description = "Insert or update a certificate")
|
||||
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();
|
||||
|
||||
@Override
|
Loading…
Reference in a new issue