diff --git a/docs/tasks/ApiGen.md b/docs/tasks/ApiGen.md index b4e7b25e9..c1f0f549a 100644 --- a/docs/tasks/ApiGen.md +++ b/docs/tasks/ApiGen.md @@ -51,6 +51,6 @@ $this->taskApiGen('./vendor/apigen/apigen.phar') * `dir($dir)` Changes working directory of command * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. diff --git a/docs/tasks/Base.md b/docs/tasks/Base.md index 000b08fac..1012ae25a 100644 --- a/docs/tasks/Base.md +++ b/docs/tasks/Base.md @@ -24,8 +24,8 @@ if ($this->taskExec('phpunit .')->run()->wasSuccessful()) { * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## ExecStack diff --git a/docs/tasks/Bower.md b/docs/tasks/Bower.md index a51a64efd..669066fb3 100644 --- a/docs/tasks/Bower.md +++ b/docs/tasks/Bower.md @@ -25,8 +25,8 @@ $this->taskBowerInstall('path/to/my/bower') * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Update @@ -53,6 +53,6 @@ $this->taskBowerUpdate('path/to/my/bower') * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. diff --git a/docs/tasks/Composer.md b/docs/tasks/Composer.md index db476896d..caf4178d6 100644 --- a/docs/tasks/Composer.md +++ b/docs/tasks/Composer.md @@ -35,12 +35,13 @@ $this->taskComposerDumpAutoload('path/to/my/composer.phar') * `noAnsi()` adds `no-ansi` option to composer * `ansi()` adds `ansi` option to composer * `optimizeAutoloader()` adds `optimize-autoloader` option to composer +* `ignorePlatformRequirements()` adds `ignore-platform-reqs` option to composer * `dir($dir)` Changes working directory of command * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Install @@ -70,12 +71,13 @@ $this->taskComposerInstall('path/to/my/composer.phar') * `noAnsi()` adds `no-ansi` option to composer * `ansi()` adds `ansi` option to composer * `optimizeAutoloader()` adds `optimize-autoloader` option to composer +* `ignorePlatformRequirements()` adds `ignore-platform-reqs` option to composer * `dir($dir)` Changes working directory of command * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Remove @@ -100,12 +102,13 @@ $this->taskComposerValidate()->run(); * `noAnsi()` adds `no-ansi` option to composer * `ansi()` adds `ansi` option to composer * `optimizeAutoloader()` adds `optimize-autoloader` option to composer +* `ignorePlatformRequirements()` adds `ignore-platform-reqs` option to composer * `dir($dir)` Changes working directory of command * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Update @@ -135,12 +138,13 @@ $this->taskComposerUpdate('path/to/my/composer.phar') * `noAnsi()` adds `no-ansi` option to composer * `ansi()` adds `ansi` option to composer * `optimizeAutoloader()` adds `optimize-autoloader` option to composer +* `ignorePlatformRequirements()` adds `ignore-platform-reqs` option to composer * `dir($dir)` Changes working directory of command * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Validate @@ -165,10 +169,11 @@ $this->taskComposerValidate()->run(); * `noAnsi()` adds `no-ansi` option to composer * `ansi()` adds `ansi` option to composer * `optimizeAutoloader()` adds `optimize-autoloader` option to composer +* `ignorePlatformRequirements()` adds `ignore-platform-reqs` option to composer * `dir($dir)` Changes working directory of command * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. diff --git a/docs/tasks/Development.md b/docs/tasks/Development.md index 7a818f71c..fd2218ebe 100644 --- a/docs/tasks/Development.md +++ b/docs/tasks/Development.md @@ -228,8 +228,8 @@ $this->taskServer(8000) * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## SemVer diff --git a/docs/tasks/Docker.md b/docs/tasks/Docker.md index 0616d426a..a91a62a7c 100644 --- a/docs/tasks/Docker.md +++ b/docs/tasks/Docker.md @@ -25,8 +25,8 @@ Class Build * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Commit @@ -54,8 +54,8 @@ $task->dockerCommit($result) * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Exec @@ -89,8 +89,8 @@ $this->taskDockerExec($test) * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Pull @@ -110,8 +110,8 @@ $this->taskDockerPull('wordpress') * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Remove @@ -130,8 +130,8 @@ $this->taskDockerRemove($container) * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Run @@ -195,8 +195,8 @@ $this->taskDockerRun('wordpress') * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Start @@ -214,8 +214,8 @@ $this->taskDockerStart($cidOrResult) * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Stop @@ -233,6 +233,6 @@ $this->taskDockerStop($cidOrResult) * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. diff --git a/docs/tasks/Filesystem.md b/docs/tasks/Filesystem.md index 8fac280cb..640fa85a9 100644 --- a/docs/tasks/Filesystem.md +++ b/docs/tasks/Filesystem.md @@ -30,7 +30,7 @@ $this->_copyDir('dist/config', 'config'); * `dirPermissions($value)` Sets the default folder permissions for the destination if it doesn't exist * `exclude($exclude = null)` List files to exclude. -* `overwrite(false)` Overwrite destination files newer than source files - defaults to true. +* `overwrite($overwrite)` Destination files newer than source files are overwritten. ## DeleteDir diff --git a/docs/tasks/Gulp.md b/docs/tasks/Gulp.md index 874994738..a50e92d87 100644 --- a/docs/tasks/Gulp.md +++ b/docs/tasks/Gulp.md @@ -24,6 +24,6 @@ $this->taskGulpRun('clean') * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. diff --git a/docs/tasks/Npm.md b/docs/tasks/Npm.md index d238b7fd8..812f8780a 100644 --- a/docs/tasks/Npm.md +++ b/docs/tasks/Npm.md @@ -22,8 +22,8 @@ $this->taskNpmInstall('path/to/my/npm') * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Update @@ -47,6 +47,6 @@ $this->taskNpmUpdate('path/to/my/npm') * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. diff --git a/docs/tasks/Remote.md b/docs/tasks/Remote.md index 03331bcc2..f58391a2b 100644 --- a/docs/tasks/Remote.md +++ b/docs/tasks/Remote.md @@ -72,8 +72,8 @@ if ('y' === $this->ask('Do you want to run (y/n)')) { * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Ssh @@ -126,6 +126,6 @@ You can configure the remote directory for all future calls: * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. diff --git a/docs/tasks/Testing.md b/docs/tasks/Testing.md index e7fb821f4..9514c3724 100644 --- a/docs/tasks/Testing.md +++ b/docs/tasks/Testing.md @@ -26,8 +26,8 @@ $this->taskAtoum() * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Behat @@ -56,8 +56,8 @@ $this->taskBehat() * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Codecept @@ -96,8 +96,8 @@ $this->taskCodecept() * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## PHPUnit @@ -129,8 +129,8 @@ $this->taskPHPUnit() * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. ## Phpspec @@ -159,6 +159,6 @@ $this->taskPhpspec() * `arg($arg)` Pass argument to executable. Its value will be automatically escaped. * `args($args)` Pass methods parameters as arguments to executable. Argument values * `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `optionList($option, $value = null)` Pass multiple options to executable. Value can be a string or array. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `optionList($option, $value = null, $separator = null)` Pass multiple options to executable. Value can be a string or array. diff --git a/src/Robo.php b/src/Robo.php index e32a49c57..bc5a29e05 100644 --- a/src/Robo.php +++ b/src/Robo.php @@ -18,7 +18,7 @@ class Robo { const APPLICATION_NAME = 'Robo'; - const VERSION = '1.0.7-dev'; + const VERSION = '1.0.7'; /** * The currently active container object, or NULL if not initialized yet.