1
0
Fork 0

Merge pull request #2515 from asgrim/patch-1

Add information on how to run scripts manually
pull/2524/merge
Jordi Boggiano 2013-12-26 05:37:23 -08:00
commit fa60a9974a
1 changed files with 8 additions and 0 deletions

View File

@ -115,3 +115,11 @@ PHP callback. This `Event` object has getters for other contextual objects:
- `getName()`: returns the name of the event being fired as a string
- `getIO()`: returns the current input/output stream which implements
`Composer\IO\IOInterface` for writing to the console
## Running scripts manually
If you would like to run the scripts for an event manually, the syntax is:
$ composer run-script [--dev] [--no-dev] script
For example `composer run-script post-install-cmd` will run any **post-install-cmd** scripts that have been defined.