Skip to content

Commit ba25792

Browse files
committed
auto-update
1 parent b6f8d7e commit ba25792

File tree

1 file changed

+24
-7
lines changed

1 file changed

+24
-7
lines changed

docs/tasks.md

+24-7
Original file line numberDiff line numberDiff line change
@@ -526,12 +526,11 @@ if ($this->taskExec('phpunit .')->run()->wasSuccessful()) {
526526

527527

528528

529+
530+
529531
* `background()` Executes command in background mode (asynchronously)
530-
* `printed($arg)` Should command output be printed
531532
* `timeout($timeout)` Stop command if it runs longer then $timeout in seconds
532533
* `idleTimeout($timeout)` Stops command if it does not output something for a while
533-
* `arg($arg)`
534-
* `args($args)`
535534

536535
* `stop()`
537536

@@ -543,6 +542,12 @@ if ($this->taskExec('phpunit .')->run()->wasSuccessful()) {
543542

544543

545544

545+
* `printed($arg)` Should command output be printed
546+
* `dir($dir)` changes working directory of command
547+
548+
* `arg($arg)` Pass argument to executable
549+
* `args($args)` Pass methods parameters as arguments to executable
550+
* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter
546551
## ExecStack
547552

548553

@@ -566,7 +571,11 @@ $this->taskExecStack()
566571

567572

568573

574+
575+
569576
* `exec($command)`
577+
* `printed($arg)` Should command output be printed
578+
* `dir($dir)` changes working directory of command
570579

571580

572581

@@ -811,6 +820,8 @@ $this->taskGitStack()
811820

812821

813822

823+
824+
814825
* `cloneRepo($repo, $to = null)` Executes `git clone`
815826
* `add($pattern)` Executes `git add` command with files to add pattern
816827
* `commit($message, $options = null)` Executes `git commit` command with a message
@@ -820,6 +831,8 @@ $this->taskGitStack()
820831

821832

822833
* `exec($command)`
834+
* `printed($arg)` Should command output be printed
835+
* `dir($dir)` changes working directory of command
823836

824837

825838

@@ -1032,14 +1045,13 @@ $this->taskServer(8000)
10321045

10331046

10341047

1035-
* `dir($path)`
1048+
1049+
1050+
* `dir($path)` changes working directory of command
10361051

10371052
* `background()` Executes command in background mode (asynchronously)
1038-
* `printed($arg)` Should command output be printed
10391053
* `timeout($timeout)` Stop command if it runs longer then $timeout in seconds
10401054
* `idleTimeout($timeout)` Stops command if it does not output something for a while
1041-
* `arg($arg)`
1042-
* `args($args)`
10431055

10441056
* `stop()`
10451057

@@ -1051,6 +1063,11 @@ $this->taskServer(8000)
10511063

10521064

10531065

1066+
* `printed($arg)` Should command output be printed
1067+
1068+
* `arg($arg)` Pass argument to executable
1069+
* `args($args)` Pass methods parameters as arguments to executable
1070+
* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter
10541071

10551072
## Rsync
10561073

0 commit comments

Comments
 (0)