Skip to content

Commit

Permalink
TASK: Rename node migration commands
Browse files Browse the repository at this point in the history
  • Loading branch information
dlubitz committed Oct 13, 2023
1 parent 9df250c commit bc6f636
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ public function __construct(
* @param boolean $force Confirm application of this migration, only needed if the given migration contains any warnings.
* @return void
* @throws StopCommandException
* @see neos.contentrepositoryregistry:nodemigration:migrate
* @see neos.contentrepositoryregistry:nodemigration:execute
*/
public function migrateCommand(string $version, string $workspace = 'live', bool $force = false, string $contentRepositoryIdentifier = 'default'): void
public function executeCommand(string $version, string $workspace = 'live', bool $force = false, string $contentRepositoryIdentifier = 'default'): void
{
$contentRepositoryId = ContentRepositoryId::fromString($contentRepositoryIdentifier);

Expand All @@ -66,7 +66,7 @@ public function migrateCommand(string $version, string $workspace = 'live', bool
if ($migrationConfiguration->hasWarnings() && $force === false) {
$this->outputLine();
$this->outputLine('Migration has warnings.'
. ' You need to confirm execution by adding the "--confirmation true" option to the command.');
. ' You need to confirm execution by adding the "--force true" option to the command.');
$this->quit(1);
}

Expand Down Expand Up @@ -94,9 +94,9 @@ public function migrateCommand(string $version, string $workspace = 'live', bool
* @throws UnknownPackageException
* @throws FilesException
* @throws StopCommandException
* @see neos.contentrepositoryregistry:nodemigration:migrationcreate
* @see neos.contentrepositoryregistry:nodemigration:kickstart
*/
public function migrationCreateCommand(string $packageKey): void
public function kickstartCommand(string $packageKey): void
{
if (!$this->packageManager->isPackageAvailable($packageKey)) {
$this->outputLine('Package "%s" is not available.', [$packageKey]);
Expand Down

0 comments on commit bc6f636

Please sign in to comment.