1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-10 19:32:07 +00:00

Make all commands lazy

This commit is contained in:
Yassine Guedidi 2024-02-02 23:24:33 +01:00
parent 5aeb116d83
commit 7c4ca62eae
14 changed files with 59 additions and 82 deletions

View file

@ -26,6 +26,9 @@ use Wallabag\CoreBundle\Entity\User;
class InstallCommand extends Command
{
protected static $defaultName = 'wallabag:install';
protected static $defaultDescription = 'wallabag installer.';
private InputInterface $defaultInput;
private SymfonyStyle $io;
private array $functionExists = [
@ -63,8 +66,6 @@ class InstallCommand extends Command
protected function configure()
{
$this
->setName('wallabag:install')
->setDescription('wallabag installer.')
->addOption(
'reset',
null,