Skip to content

Commit

Permalink
Update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-1-anderson committed Aug 16, 2016
1 parent 1311abe commit dbb03f7
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 10 deletions.
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
## Tasks

* [ApiGen](tasks/ApiGen.md)
* [Archive] (tasks/Archive.md)
* [Assets](tasks/Assets.md)
* [Base](tasks/Base.md)
* [Bower](tasks/Bower.md)
Expand Down
30 changes: 30 additions & 0 deletions docs/tasks/Composer.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,36 @@ $this->taskComposerInstall('path/to/my/composer.phar')
* `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.

## Remove


Composer Validate

``` php
<?php
// simple execution
$this->taskComposerValidate()->run();
?>
```

* `dev()`
* `noProgress()`
* `noUpdate()`
* `updateNoDev()`
* `noUpdateWithDependencies()`
* `preferDist()` adds `prefer-dist` option to composer
* `preferSource()` adds `prefer-source` option to composer
* `noDev()` adds `no-dev` option to composer
* `noAnsi()` adds `no-ansi` option to composer
* `ansi()` adds `ansi` option to composer
* `optimizeAutoloader()` adds `optimize-autoloader` option to composer
* `dir($dir)` changes working directory of command
* `printed($arg)` Should command output be printed
* `arg($arg)` Pass argument to executable
* `args($args)` Pass methods parameters as arguments 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.

## Update


Expand Down
1 change: 1 addition & 0 deletions docs/tasks/Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ $pharTask = $this->taskPackPhar('package/codecept.phar')
* `stub($stub)` * `param` $stub
* `addStripped($path, $file)`
* `addFile($path, $file)`
* `addFiles($files)`
* `executable($file)`

## PhpServer
Expand Down
20 changes: 10 additions & 10 deletions docs/tasks/Filesystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ $this->_mkdir('logs');
?>
```

* `mkdir($dir)`
* `touch($file)`
* `copy($from, $to, $force = null)`
* `chmod($file, $permissions, $umask = null, $recursive = null)`
* `chgrp($file, $group, $recursive = null)`
* `chown($file, $user, $recursive = null)`
* `remove($file)`
* `rename($from, $to)`
* `symlink($from, $to)`
* `mirror($from, $to)`
* `$this mkdir($dir)`
* `$this touch($file)`
* `$this copy($from, $to, $force = null)`
* `$this chmod($file, $permissions, $umask = null, $recursive = null)`
* `$this chgrp($file, $group, $recursive = null)`
* `$this chown($file, $user, $recursive = null)`
* `$this remove($file)`
* `$this rename($from, $to)`
* `$this symlink($from, $to)`
* `$this mirror($from, $to)`

* `stopOnFail($stop = null)`

Expand Down

0 comments on commit dbb03f7

Please sign in to comment.