Add project-directory option

This commit is contained in:
Dan Feder
2018-05-25 10:43:34 -04:00
committed by GitHub
parent 6bce2a0a58
commit 05af20e879

View File

@@ -97,6 +97,20 @@ abstract class Base extends BaseTask implements CommandInterface
return $this; return $this;
} }
/**
* Specify an alternate project directory.
*
* @param string
* A directory path for the base of the project.
*/
public function projectDirectory($dir)
{
$this->execOption('project-directory', $dir);
return $this;
}
/** /**
* Daemon socket to connect to. * Daemon socket to connect to.
* *