You are here

protected function Provision_ComposerGitCreateProject::buildCreateProjectCommand in Aegir Deploy 7.3

1 call to Provision_ComposerGitCreateProject::buildCreateProjectCommand()
Provision_ComposerGitCreateProject::createProject in modules/platform_composer_git/drush/Provision/ComposerGitCreateProject.php

File

modules/platform_composer_git/drush/Provision/ComposerGitCreateProject.php, line 73
The Provision_ComposerGitCreateProject class.

Class

Provision_ComposerGitCreateProject
@file The Provision_ComposerGitCreateProject class.

Code

protected function buildCreateProjectCommand() {
  $command = 'cd ';
  $command .= escapeshellarg(trim($this->path));
  $command .= ' && composer create-project --no-dev --no-interaction --no-progress';
  return $command;
}