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:
parent
5aeb116d83
commit
7c4ca62eae
14 changed files with 59 additions and 82 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue