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

@ -13,6 +13,9 @@ use Wallabag\CoreBundle\Repository\UserRepository;
class ShowUserCommand extends Command
{
protected static $defaultName = 'wallabag:user:show';
protected static $defaultDescription = 'Show user details';
protected SymfonyStyle $io;
private UserRepository $userRepository;
@ -26,8 +29,6 @@ class ShowUserCommand extends Command
protected function configure()
{
$this
->setName('wallabag:user:show')
->setDescription('Show user details')
->setHelp('This command shows the details for an user')
->addArgument(
'username',