Example #1
0
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $listCommand = new ListCommand($this->globalService, $this->userService, $this->userSession, $this->userManager);
     $listInput = new ArrayInput([], $listCommand->getDefinition());
     $listInput->setArgument('user_id', $input->getArgument('user_id'));
     $listInput->setOption('output', 'json_pretty');
     $listInput->setOption('show-password', true);
     $listInput->setOption('full', true);
     $listCommand->execute($listInput, $output);
 }