@@ -13,6 +13,7 @@ final class PrepareStandaloneRuntime extends Command
|
||||
{--operator= : Named deployment operator}
|
||||
{--reason= : Recorded installation or recovery reason}
|
||||
{--apply : Apply the explicitly selected installation}
|
||||
{--reuse-components : Reuse only complete recognised canonical V1 components; reject partial or changed schemas}
|
||||
{--rebind : Preserve restored schema and register a new installation binding}';
|
||||
|
||||
protected $description = 'Preparar explicitamente a composição independente; pré-visualizar por defeito';
|
||||
@@ -20,7 +21,8 @@ final class PrepareStandaloneRuntime extends Command
|
||||
public function handle(StandaloneInstallation $installation): int
|
||||
{
|
||||
$result = $installation->prepare((string) $this->option('expected-database'), (string) $this->option('expected-role'),
|
||||
(string) $this->option('operator'), (string) $this->option('reason'), $this->option('apply') === true, $this->option('rebind') === true);
|
||||
(string) $this->option('operator'), (string) $this->option('reason'), $this->option('apply') === true, $this->option('rebind') === true,
|
||||
$this->option('reuse-components') === true);
|
||||
$this->line(json_encode($result, JSON_UNESCAPED_SLASHES | JSON_THROW_ON_ERROR));
|
||||
|
||||
return self::SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user