Skip to content

Commit f5dc6e5

Browse files
[automatic] Update docs with bin/docgen
1 parent 3d02497 commit f5dc6e5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,12 @@ $path = run('readlink {{deploy_path}}/current');
258258
run("echo $path");
259259
```
260260

261+
Use `| quote` filter to safely quote config values as shell arguments:
262+
```php
263+
run('echo {{ message | quote }}');
264+
run('grep -r {{ pattern | quote }} {{release_path}}');
265+
```
266+
261267

262268

263269
| Argument | Type | Comment |

0 commit comments

Comments
 (0)