Cleanup of cli
This commit is contained in:
20
cli/setup/setups/04_commands.php
Normal file
20
cli/setup/setups/04_commands.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
use Psr\Container\ContainerInterface;
|
||||
|
||||
return [
|
||||
ProVM\Command\Attachments\DecryptPdf::class => function(ContainerInterface $container) {
|
||||
return new ProVM\Command\Attachments\DecryptPdf(
|
||||
$container->get(ProVM\Service\Communicator::class),
|
||||
$container->get(Psr\Log\LoggerInterface::class),
|
||||
'qpdf',
|
||||
$container->get('passwords')
|
||||
);
|
||||
},
|
||||
ProVM\Command\Mailboxes\Check::class => function(ContainerInterface $container) {
|
||||
return new ProVM\Command\Mailboxes\Check(
|
||||
$container->get(ProVM\Service\Communicator::class),
|
||||
1
|
||||
);
|
||||
}
|
||||
];
|
Reference in New Issue
Block a user