From 05af20e8791a9f601e6a3ddfd447fee54638f959 Mon Sep 17 00:00:00 2001 From: Dan Feder Date: Fri, 25 May 2018 10:43:34 -0400 Subject: [PATCH] Add project-directory option --- src/Task/Base.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Task/Base.php b/src/Task/Base.php index 7e46b70..e16af74 100644 --- a/src/Task/Base.php +++ b/src/Task/Base.php @@ -96,6 +96,20 @@ abstract class Base extends BaseTask implements CommandInterface 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.