1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Forward args/flags down to referenced events

This commit is contained in:
Jordi Boggiano 2015-11-14 14:02:47 +00:00
parent 24ccaa328d
commit adc0bbeeb9
2 changed files with 7 additions and 3 deletions

View file

@ -201,8 +201,10 @@ simply running `composer test`:
> **Note:** Composer's bin-dir is pushed on top of the PATH so that binaries
> of dependencies are easily accessible as CLI commands when writing scripts.
Composer script can also called from other scripts, by prefixing the command name
by `@`. For example the following syntax is valid:
## Referencing scripts
To enable script re-use and avoid duplicates, you can call a script from another
one by prefixing the command name with `@`:
```json
{