Skip to content

Commit 4990b43

Browse files
deviantintegralgreg-1-anderson
authored andcommitted
Document php:script supports stdin scripts (#3984)
1 parent fd0c5d7 commit 4990b43

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Commands/core/PhpCommands.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,12 @@ public function evaluate($code, $options = ['format' => 'var_export'])
4545
* : (Unix-based systems) or ; (Windows).
4646
* @usage drush php:script example --script-path=/path/to/scripts:/another/path
4747
* Run a script named example.php from specified paths
48+
* @usage drush php:script -
49+
* Run PHP code from standard input.
4850
* @usage drush php:script
4951
* List all available scripts.
5052
* @usage drush php:script foo -- apple --cider
51-
* Run foo.php script with argument 'apple' and option 'cider'. Note the
53+
* Run foo.php script with argument 'apple' and option 'cider'. Note the
5254
* -- separator.
5355
* @aliases scr,php-script
5456
* @bootstrap max

0 commit comments

Comments
 (0)