From c7b9a172cbf6779efd180c9527ff6e83a83e814e Mon Sep 17 00:00:00 2001 From: Martin Ficzel Date: Mon, 18 Feb 2019 10:38:47 +0100 Subject: [PATCH] !!! TASK: Remove clone:remoteHost from cli This is not compatible with magicwand now having an understanding of the last cloned preset. --- Classes/Command/CloneCommandController.php | 4 ++-- README.md | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Classes/Command/CloneCommandController.php b/Classes/Command/CloneCommandController.php index e7a0012..f50b713 100644 --- a/Classes/Command/CloneCommandController.php +++ b/Classes/Command/CloneCommandController.php @@ -98,7 +98,7 @@ public function presetCommand($presetName, $yes = false, $keepDb = false) $configuration = $this->configurationService->getCurrentConfiguration(); $this->renderLine('Clone by preset ' . $presetName); - $this->remoteHostCommand( + $this->cloneRemoteHost( $configuration['host'], $configuration['user'], $configuration['port'], @@ -140,7 +140,7 @@ public function presetCommand($presetName, $yes = false, $keepDb = false) * @param string $remoteFlowCommand the flow command to execute on the remote system * @param string $sshOptions additional options for the ssh command */ - public function remoteHostCommand( + protected function cloneRemoteHost( $host, $user, $port, diff --git a/README.md b/README.md index 5077c4f..4485ff7 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ section of your composer.json**. ## Easy and fast cloning of Flow and Neos Installations -The CLI commands `clone:list`, `clone:preset` and `clone:remotehost` help to +The CLI commands `clone:list`, `clone:preset` to help to clone a remote Flow/Neos setup into the local Flow/Neos installation that executes the command. **Attention: These commands will empty the local database and resources of your local Flow installation. @@ -28,9 +28,6 @@ using the commands.** # clone from remote host with the information stored in the master preset ./flow clone:preset master - -# clone remote host with the information stored in the master preset -./flow clone:remotehost --host=host --user=user --port=port --path=path --context=context ``` ### Settings.yaml