mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
parent
0a9abeef88
commit
80d0c2029b
3 changed files with 21 additions and 11 deletions
|
@ -278,16 +278,14 @@ JSON array of commands.
|
|||
|
||||
## Custom descriptions.
|
||||
|
||||
You can set custom script descriptions with the following extra in your composer.json:
|
||||
You can set custom script descriptions with the following in your `composer.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"extra": {
|
||||
"scripts-description": {
|
||||
"test": "Run all tests!"
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
```json
|
||||
{
|
||||
"scripts-description": {
|
||||
"test": "Run all tests!"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
> **Note:** You can only set custom descriptions of custom commands.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue