Merge pull request #2515 from asgrim/patch-1

Add information on how to run scripts manually
main
Jordi Boggiano 11 years ago
commit fa60a9974a

@ -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.

Loading…
Cancel
Save