@@ -526,12 +526,11 @@ if ($this->taskExec('phpunit .')->run()->wasSuccessful()) {
526
526
527
527
528
528
529
+
530
+
529
531
* ` background() ` Executes command in background mode (asynchronously)
530
- * ` printed($arg) ` Should command output be printed
531
532
* ` timeout($timeout) ` Stop command if it runs longer then $timeout in seconds
532
533
* ` idleTimeout($timeout) ` Stops command if it does not output something for a while
533
- * ` arg($arg) `
534
- * ` args($args) `
535
534
536
535
* ` stop() `
537
536
@@ -543,6 +542,12 @@ if ($this->taskExec('phpunit .')->run()->wasSuccessful()) {
543
542
544
543
545
544
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
546
551
## ExecStack
547
552
548
553
@@ -566,7 +571,11 @@ $this->taskExecStack()
566
571
567
572
568
573
574
+
575
+
569
576
* ` exec($command) `
577
+ * ` printed($arg) ` Should command output be printed
578
+ * ` dir($dir) ` changes working directory of command
570
579
571
580
572
581
@@ -811,6 +820,8 @@ $this->taskGitStack()
811
820
812
821
813
822
823
+
824
+
814
825
* ` cloneRepo($repo, $to = null) ` Executes ` git clone `
815
826
* ` add($pattern) ` Executes ` git add ` command with files to add pattern
816
827
* ` commit($message, $options = null) ` Executes ` git commit ` command with a message
@@ -820,6 +831,8 @@ $this->taskGitStack()
820
831
821
832
822
833
* ` exec($command) `
834
+ * ` printed($arg) ` Should command output be printed
835
+ * ` dir($dir) ` changes working directory of command
823
836
824
837
825
838
@@ -1032,14 +1045,13 @@ $this->taskServer(8000)
1032
1045
1033
1046
1034
1047
1035
- * ` dir($path) `
1048
+
1049
+
1050
+ * ` dir($path) ` changes working directory of command
1036
1051
1037
1052
* ` background() ` Executes command in background mode (asynchronously)
1038
- * ` printed($arg) ` Should command output be printed
1039
1053
* ` timeout($timeout) ` Stop command if it runs longer then $timeout in seconds
1040
1054
* ` idleTimeout($timeout) ` Stops command if it does not output something for a while
1041
- * ` arg($arg) `
1042
- * ` args($args) `
1043
1055
1044
1056
* ` stop() `
1045
1057
@@ -1051,6 +1063,11 @@ $this->taskServer(8000)
1051
1063
1052
1064
1053
1065
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
1054
1071
1055
1072
## Rsync
1056
1073
0 commit comments