public function simulate($command, Node $node, Deployment $deployment)
    {
        if ($node->isLocalhost()) {
            $command = $this->prepareCommand($command);
            $deployment->getLogger()->debug('... (localhost): "' . $command . '"');
        } else {
            $command = $this->prepareCommand($command);
            $deployment->getLogger()->debug('... $' . $node->getName() . ': "' . $command . '"');
        }
        return true;
    }
public function simulate($command, Node $node, Deployment $deployment)
    {
        if ($node->isLocalhost()) {
            $command = $this->prepareCommand($command);
            $deployment->getLogger()->debug('... (localhost): "' . $command . '"');
        } else {
            $command = $this->prepareCommand($command);
            $deployment->getLogger()->debug('... $' . $node->getName() . ': "' . $command . '"');
        }
        return true;
    }
public function simulate ( $ command , Node $ node , Deployment $ deployment ) { if ( $ node -> isLocalhost ( ) ) { $ command = $ this -> prepareCommand ( $ command ) ; $ deployment -> getLogger ( ) -> debug ( '... (localhost): "' . $ command . '"' ) ; } else { $ command = $ this -> prepareCommand ( $ command ) ; $ deployment -> getLogger ( ) -> debug ( '... $' . $ node -> getName ( ) . ': "' . $ command . '"' ) ; } return true ; }
Simulate a command by just outputting what would be executed

@param array|string $command
@param Node|null $node
@param Deployment $deployment
@return bool
@throws TaskExecutionException
Simulate a command by just outputting what would be executed