Rename Import task to Insert

This commit is contained in:
Paul Schaub 2022-07-04 13:04:11 +02:00
parent a417c322b3
commit d0413f2169
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 6 additions and 6 deletions

View file

@ -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,
}

View file

@ -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