Skip to content

Commit

Permalink
EZP-32284: Made type parameter optional in InstallPlatformCommand (#…
Browse files Browse the repository at this point in the history
…159)

* EZP-32284: Made `type` argument optional in InstallPlatformCommand

* EZP-32284: Provided `ibexa-oss` alias for CoreInstaller
  • Loading branch information
webhdx authored Jan 13, 2021
1 parent d0ce93f commit f9f5eb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ protected function configure()
$this->setAliases($this->getDeprecatedAliases());
$this->addArgument(
'type',
InputArgument::REQUIRED,
'The type of install. Available options: ' . implode(', ', array_keys($this->installers))
InputArgument::OPTIONAL,
'The type of install. Available options: ' . implode(', ', array_keys($this->installers)),
'ibexa-oss'
);
$this->addOption(
'skip-indexing',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ services:
autowire: true
parent: EzSystems\PlatformInstallerBundle\Installer\DbBasedInstaller
tags:
- {name: ezplatform.installer, type: clean}
- { name: ezplatform.installer, type: clean } # left for BC, should be removed in Ibexa 4.0
- { name: ezplatform.installer, type: ibexa-oss }

EzSystems\PlatformInstallerBundle\Command\InstallPlatformCommand:
arguments:
Expand Down

0 comments on commit f9f5eb1

Please sign in to comment.