Skip to content

Commit

Permalink
!!! TASK: Remove clone:remoteHost from cli
Browse files Browse the repository at this point in the history
This is not compatible with magicwand now having an understanding of the last cloned preset.
  • Loading branch information
mficzel committed Feb 18, 2019
1 parent 611d9d6 commit c7b9a17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Classes/Command/CloneCommandController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down Expand Up @@ -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,
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit c7b9a17

Please sign in to comment.