mirror of
https://github.com/verdigado/organization_folders.git
synced 2024-11-24 21:50:26 +01:00
use table output for create occ command
This commit is contained in:
parent
9487ddc910
commit
4e120250e1
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class CreateOrganizationFolder extends BaseCommand {
|
||||||
try {
|
try {
|
||||||
$organizationFolder = $this->organizationFolderService->create($name, $quota);
|
$organizationFolder = $this->organizationFolderService->create($name, $quota);
|
||||||
|
|
||||||
$output->writeln(json_encode($organizationFolder));
|
$this->writeTableInOutputFormat($input, $output, [$this->formatTableSerializable($organizationFolder)]);
|
||||||
return 0;
|
return 0;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$output->writeln("<error>Exception \"{$e->getMessage()}\" at {$e->getFile()} line {$e->getLine()}</error>");
|
$output->writeln("<error>Exception \"{$e->getMessage()}\" at {$e->getFile()} line {$e->getLine()}</error>");
|
||||||
|
|
Loading…
Reference in a new issue