0
0
Fork 0
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:
Jonathan Treffler 2024-11-02 20:17:40 +01:00
parent 4e120250e1
commit 21f3a39b06
5 changed files with 80 additions and 2 deletions

View file

@ -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>");