Skip to content

Commit

Permalink
up: cmd builder add new helper method flushRun
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Oct 18, 2023
1 parent e9fd416 commit 19ff4d4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Cmd/AbstractCmdBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,14 @@ public function changeDir(string $workDir): static
return $this;
}

/**
* run and print all output
*/
public function flushRun(): static
{
return $this->run(true);
}

/**
* run and print all output
*/
Expand Down

0 comments on commit 19ff4d4

Please sign in to comment.