Skip to content

Commit 19ff4d4

Browse files
committed
up: cmd builder add new helper method flushRun
1 parent e9fd416 commit 19ff4d4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Cmd/AbstractCmdBuilder.php

+8
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,14 @@ public function changeDir(string $workDir): static
106106
return $this;
107107
}
108108

109+
/**
110+
* run and print all output
111+
*/
112+
public function flushRun(): static
113+
{
114+
return $this->run(true);
115+
}
116+
109117
/**
110118
* run and print all output
111119
*/

0 commit comments

Comments
 (0)