Rename command
This commit is contained in:
parent
ec7f72cbe4
commit
a03c29bc64
4
bin/cli
4
bin/cli
|
@ -29,7 +29,7 @@ use Exception;
|
||||||
use OCC\OaiPmh2\Console\AddRecordCommand;
|
use OCC\OaiPmh2\Console\AddRecordCommand;
|
||||||
use OCC\OaiPmh2\Console\CsvImportCommand;
|
use OCC\OaiPmh2\Console\CsvImportCommand;
|
||||||
use OCC\OaiPmh2\Console\DeleteRecordCommand;
|
use OCC\OaiPmh2\Console\DeleteRecordCommand;
|
||||||
use OCC\OaiPmh2\Console\PruneRecordsCommand;
|
use OCC\OaiPmh2\Console\PruneDeletedRecordsCommand;
|
||||||
use OCC\OaiPmh2\Console\PruneResumptionTokensCommand;
|
use OCC\OaiPmh2\Console\PruneResumptionTokensCommand;
|
||||||
use OCC\OaiPmh2\Console\UpdateFormatsCommand;
|
use OCC\OaiPmh2\Console\UpdateFormatsCommand;
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ $commands = [
|
||||||
new AddRecordCommand(),
|
new AddRecordCommand(),
|
||||||
new CsvImportCommand(),
|
new CsvImportCommand(),
|
||||||
new DeleteRecordCommand(),
|
new DeleteRecordCommand(),
|
||||||
new PruneRecordsCommand(),
|
new PruneDeletedRecordsCommand(),
|
||||||
new PruneResumptionTokensCommand(),
|
new PruneResumptionTokensCommand(),
|
||||||
new UpdateFormatsCommand()
|
new UpdateFormatsCommand()
|
||||||
];
|
];
|
||||||
|
|
|
@ -40,7 +40,7 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||||
name: 'oai:records:prune',
|
name: 'oai:records:prune',
|
||||||
description: 'Prune deleted records from database'
|
description: 'Prune deleted records from database'
|
||||||
)]
|
)]
|
||||||
class PruneRecordsCommand extends Command
|
class PruneDeletedRecordsCommand extends Command
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Configures the current command.
|
* Configures the current command.
|
Loading…
Reference in New Issue