Skip to content

Commit e16bdd9

Browse files
Robo release 3.0.4
1 parent 1162a91 commit e16bdd9

12 files changed

+40
-4
lines changed

docs/tasks/ApiGen.md

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ $this->taskApiGen('./vendor/apigen/apigen.phar')
4949
* `updateCheck($check)` * `param bool|string` $check
5050
* `debug($debug)` * `param bool|string` $debug
5151
* `setOutput($output)` Sets the Console Output.
52+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
5253
* `dir($dir)` Changes working directory of command
5354
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
5455
* `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable.

docs/tasks/Base.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if ($this->taskExec('phpunit .')->run()->wasSuccessful()) {
2121

2222
* `simulate($context)` {@inheritdoc}
2323
* `setOutput($output)` Sets the Console Output.
24-
* `setProcessInput($input)` Sets the input for the command. Similar to a pipe like `echo "input" | cat`.
24+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
2525
* `dir($dir)` Changes working directory of command
2626
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
2727
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -50,8 +50,9 @@ $this->taskExecStack()
5050
* `executable($executable)` * `param string` $executable
5151
* `exec($command)` * `param string|string[]|CommandInterface` $command
5252
* `stopOnFail($stopOnFail = null)` * `param bool` $stopOnFail
53-
* `result($result)`
53+
* `result($result)`
5454
* `setOutput($output)` Sets the Console Output.
55+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
5556
* `dir($dir)` Changes working directory of command
5657

5758
## ParallelExec
@@ -95,7 +96,7 @@ $this->taskSymfonyCommand(new ModelGeneratorCommand())
9596
```
9697

9798
* `arg($arg, $value)` * `param string` $arg
98-
* `opt($option, $value = null)`
99+
* `opt($option, $value = null)`
99100
* `setOutput($output)` Sets the Console Output.
100101

101102

docs/tasks/Bower.md

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ $this->taskBowerInstall('path/to/my/bower')
2222
* `noDev()` adds `production` option to bower
2323
* `offline()` adds `offline` option to bower
2424
* `setOutput($output)` Sets the Console Output.
25+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
2526
* `dir($dir)` Changes working directory of command
2627
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
2728
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -53,6 +54,7 @@ $this->taskBowerUpdate('path/to/my/bower')
5354
* `noDev()` adds `production` option to bower
5455
* `offline()` adds `offline` option to bower
5556
* `setOutput($output)` Sets the Console Output.
57+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
5658
* `dir($dir)` Changes working directory of command
5759
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
5860
* `args($args)` Pass methods parameters as arguments to executable. Argument values

docs/tasks/Composer.md

+10
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ $this->taskComposerValidate()->run();
2727
* `workingDir($dir)` adds `--working-dir $dir` option to composer
2828
* `buildCommand()` Copy class fields into command options as directed.
2929
* `setOutput($output)` Sets the Console Output.
30+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
3031
* `dir($dir)` Changes working directory of command
3132
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
3233
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -68,6 +69,7 @@ $this->taskComposerConfig()->set('bin-dir', 'bin/')->run();
6869
* `workingDir($dir)` adds `--working-dir $dir` option to composer
6970
* `buildCommand()` Copy class fields into command options as directed.
7071
* `setOutput($output)` Sets the Console Output.
72+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
7173
* `dir($dir)` Changes working directory of command
7274
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
7375
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -110,6 +112,7 @@ $this->taskComposerCreateProject()->source('foo/bar')->target('myBar')->run();
110112
* `noScripts($disable = null)` skip scripts
111113
* `workingDir($dir)` adds `--working-dir $dir` option to composer
112114
* `setOutput($output)` Sets the Console Output.
115+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
113116
* `dir($dir)` Changes working directory of command
114117
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
115118
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -162,6 +165,7 @@ $this->taskComposerDumpAutoload('path/to/my/composer.phar')
162165
* `workingDir($dir)` adds `--working-dir $dir` option to composer
163166
* `buildCommand()` Copy class fields into command options as directed.
164167
* `setOutput($output)` Sets the Console Output.
168+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
165169
* `dir($dir)` Changes working directory of command
166170
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
167171
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -206,6 +210,7 @@ $this->taskComposerInit()->run();
206210
* `workingDir($dir)` adds `--working-dir $dir` option to composer
207211
* `buildCommand()` Copy class fields into command options as directed.
208212
* `setOutput($output)` Sets the Console Output.
213+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
209214
* `dir($dir)` Changes working directory of command
210215
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
211216
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -252,6 +257,7 @@ $this->taskComposerInstall('path/to/my/composer.phar')
252257
* `workingDir($dir)` adds `--working-dir $dir` option to composer
253258
* `buildCommand()` Copy class fields into command options as directed.
254259
* `setOutput($output)` Sets the Console Output.
260+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
255261
* `dir($dir)` Changes working directory of command
256262
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
257263
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -291,6 +297,7 @@ $this->taskComposerRemove()->run();
291297
* `workingDir($dir)` adds `--working-dir $dir` option to composer
292298
* `buildCommand()` Copy class fields into command options as directed.
293299
* `setOutput($output)` Sets the Console Output.
300+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
294301
* `dir($dir)` Changes working directory of command
295302
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
296303
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -328,6 +335,7 @@ $this->taskComposerRequire()->dependency('foo/bar', '^.2.4.8')->run();
328335
* `workingDir($dir)` adds `--working-dir $dir` option to composer
329336
* `buildCommand()` Copy class fields into command options as directed.
330337
* `setOutput($output)` Sets the Console Output.
338+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
331339
* `dir($dir)` Changes working directory of command
332340
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
333341
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -375,6 +383,7 @@ $this->taskComposerUpdate('path/to/my/composer.phar')
375383
* `workingDir($dir)` adds `--working-dir $dir` option to composer
376384
* `buildCommand()` Copy class fields into command options as directed.
377385
* `setOutput($output)` Sets the Console Output.
386+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
378387
* `dir($dir)` Changes working directory of command
379388
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
380389
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -415,6 +424,7 @@ $this->taskComposerValidate()->run();
415424
* `workingDir($dir)` adds `--working-dir $dir` option to composer
416425
* `buildCommand()` Copy class fields into command options as directed.
417426
* `setOutput($output)` Sets the Console Output.
427+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
418428
* `dir($dir)` Changes working directory of command
419429
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
420430
* `args($args)` Pass methods parameters as arguments to executable. Argument values

docs/tasks/Development.md

+1
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ $this->taskServer(8000)
234234
* `dir($path)` * `param string` $path
235235
* `simulate($context)` {@inheritdoc}
236236
* `setOutput($output)` Sets the Console Output.
237+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
237238
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
238239
* `args($args)` Pass methods parameters as arguments to executable. Argument values
239240
* `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable.

docs/tasks/Docker.md

+8
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Class Build
2323
* `tag($tag)` * `param string` $tag
2424
* `enableBuildKit()` * `return` $this
2525
* `setOutput($output)` Sets the Console Output.
26+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
2627
* `dir($dir)` Changes working directory of command
2728
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
2829
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -54,6 +55,7 @@ $task->dockerCommit($result)
5455

5556
* `name($name)` * `param string` $name
5657
* `setOutput($output)` Sets the Console Output.
58+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
5759
* `dir($dir)` Changes working directory of command
5860
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
5961
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -91,6 +93,7 @@ $this->taskDockerExec($test)
9193
* `detached()` * `return` $this
9294
* `exec($command)` * `param string|\Robo\Contract\CommandInterface` $command
9395
* `setOutput($output)` Sets the Console Output.
96+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
9497
* `dir($dir)` Changes working directory of command
9598
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
9699
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -114,6 +117,7 @@ $this->taskDockerPull('wordpress')
114117

115118

116119
* `setOutput($output)` Sets the Console Output.
120+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
117121
* `dir($dir)` Changes working directory of command
118122
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
119123
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -136,6 +140,7 @@ $this->taskDockerRemove($container)
136140

137141

138142
* `setOutput($output)` Sets the Console Output.
143+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
139144
* `dir($dir)` Changes working directory of command
140145
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
141146
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -203,6 +208,7 @@ $this->taskDockerRun('wordpress')
203208
* `getTmpDir()` @return string
204209
* `getUniqId()` @return string
205210
* `setOutput($output)` Sets the Console Output.
211+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
206212
* `dir($dir)` Changes working directory of command
207213
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
208214
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -224,6 +230,7 @@ $this->taskDockerStart($cidOrResult)
224230
```
225231

226232
* `setOutput($output)` Sets the Console Output.
233+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
227234
* `dir($dir)` Changes working directory of command
228235
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
229236
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -245,6 +252,7 @@ $this->taskDockerStop($cidOrResult)
245252
```
246253

247254
* `setOutput($output)` Sets the Console Output.
255+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
248256
* `dir($dir)` Changes working directory of command
249257
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
250258
* `args($args)` Pass methods parameters as arguments to executable. Argument values

docs/tasks/Gulp.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ $this->taskGulpRun('clean')
2121
* `color()` adds `--color` option to gulp
2222
* `simple()` adds `--tasks-simple` option to gulp
2323
* `setOutput($output)` Sets the Console Output.
24+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
2425
* `dir($dir)` Changes working directory of command
2526
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
2627
* `args($args)` Pass methods parameters as arguments to executable. Argument values

docs/tasks/Npm.md

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ $this->taskNpmInstall('path/to/my/npm')
1919

2020
* `noDev()` adds `production` option to npm
2121
* `setOutput($output)` Sets the Console Output.
22+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
2223
* `dir($dir)` Changes working directory of command
2324
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
2425
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -47,6 +48,7 @@ $this->taskNpmUpdate('path/to/my/npm')
4748

4849
* `noDev()` adds `production` option to npm
4950
* `setOutput($output)` Sets the Console Output.
51+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
5052
* `dir($dir)` Changes working directory of command
5153
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
5254
* `args($args)` Pass methods parameters as arguments to executable. Argument values

docs/tasks/Remote.md

+2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ if ('y' === $this->ask('Do you want to run (y/n)')) {
6969
* `filesFrom($file)` * `param string` $file
7070
* `remoteShell($command)` * `param string` $command
7171
* `setOutput($output)` Sets the Console Output.
72+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
7273
* `dir($dir)` Changes working directory of command
7374
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
7475
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -125,6 +126,7 @@ You can configure the remote directory for all future calls:
125126
* `exec($command)` * `param string|string[]|CommandInterface` $command
126127
* `simulate($context)` {@inheritdoc}
127128
* `setOutput($output)` Sets the Console Output.
129+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
128130
* `dir($dir)` Changes working directory of command
129131
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
130132
* `args($args)` Pass methods parameters as arguments to executable. Argument values

docs/tasks/Testing.md

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ $this->taskAtoum()
2323
* `files($files)` Test file or test files to run.
2424
* `directories($directories)` Test directory or directories to run.
2525
* `setOutput($output)` Sets the Console Output.
26+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
2627
* `dir($dir)` Changes working directory of command
2728
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
2829
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -55,6 +56,7 @@ $this->taskBehat()
5556
* `verbose($level = null)` * `param string` $level
5657
* `format($formater)` * `param string` $formater
5758
* `setOutput($output)` Sets the Console Output.
59+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
5860
* `dir($dir)` Changes working directory of command
5961
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
6062
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -100,6 +102,7 @@ $this->taskCodecept()
100102
* `noExit()` * `return` $this
101103
* `failGroup($failGroup)` * `param string` $failGroup
102104
* `setOutput($output)` Sets the Console Output.
105+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
103106
* `dir($dir)` Changes working directory of command
104107
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
105108
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -135,6 +138,7 @@ $this->taskPHPUnit()
135138
* `files($files)` Directory of test files or single test file to run.
136139
* `file($file)` Test the provided file.
137140
* `setOutput($output)` Sets the Console Output.
141+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
138142
* `dir($dir)` Changes working directory of command
139143
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
140144
* `args($args)` Pass methods parameters as arguments to executable. Argument values
@@ -167,6 +171,7 @@ $this->taskPhpspec()
167171
* `config($config_file)` * `param string` $config_file
168172
* `format($formater)` * `param string` $formater
169173
* `setOutput($output)` Sets the Console Output.
174+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
170175
* `dir($dir)` Changes working directory of command
171176
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
172177
* `args($args)` Pass methods parameters as arguments to executable. Argument values

docs/tasks/Vcs.md

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ $this->taskGitStack()
3838
* `stopOnFail($stopOnFail = null)` * `param bool` $stopOnFail
3939
* `result($result)`
4040
* `setOutput($output)` Sets the Console Output.
41+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
4142
* `dir($dir)` Changes working directory of command
4243

4344
## HgStack
@@ -71,6 +72,7 @@ $this->hgStack
7172
* `stopOnFail($stopOnFail = null)` * `param bool` $stopOnFail
7273
* `result($result)`
7374
* `setOutput($output)` Sets the Console Output.
75+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
7476
* `dir($dir)` Changes working directory of command
7577

7678

@@ -106,6 +108,7 @@ $this->taskSvnStack('username', 'password')
106108
* `stopOnFail($stopOnFail = null)` * `param bool` $stopOnFail
107109
* `result($result)`
108110
* `setOutput($output)` Sets the Console Output.
111+
* `setProcessInput($input)` Pass an input to the process. Can be resource created with fopen() or string
109112
* `dir($dir)` Changes working directory of command
110113

111114

src/Robo.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class Robo
2222
{
2323
const APPLICATION_NAME = 'Robo';
24-
const VERSION = '3.0.4-dev';
24+
const VERSION = '3.0.4';
2525

2626
/**
2727
* The currently active container object, or NULL if not initialized yet.

0 commit comments

Comments
 (0)