mirror of
https://github.com/verdigado/organization_folders.git
synced 2024-12-06 11:22:41 +01:00
added occ commands to get organization folder by id and to remove organization folder
This commit is contained in:
parent
4e120250e1
commit
21f3a39b06
5 changed files with 80 additions and 2 deletions
|
@ -19,9 +19,9 @@ class ListOrganizationFolders extends BaseCommand {
|
|||
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int {
|
||||
try {
|
||||
$organizationFolderGroupfolders = $this->organizationFolderService->findAll();
|
||||
$organizationFolders = $this->organizationFolderService->findAll();
|
||||
|
||||
$this->writeTableInOutputFormat($input, $output, $this->formatTableSerializables($organizationFolderGroupfolders));
|
||||
$this->writeTableInOutputFormat($input, $output, $this->formatTableSerializables($organizationFolders));
|
||||
return 0;
|
||||
} catch (Exception $e) {
|
||||
$output->writeln("<error>Exception \"{$e->getMessage()}\" at {$e->getFile()} line {$e->getLine()}</error>");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue