Skip to content

Commit d2a4543

Browse files
doc: add SHELL_VERBOSITY to CLI (composer#12473)
1 parent 23e335d commit d2a4543

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

doc/03-cli.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,4 +1346,13 @@ If set to `1`, it is the equivalent of passing the `--with-dependencies` option
13461346
If set to `1`, it is the equivalent of passing the `--with-all-dependencies` option to
13471347
`update`, `require` or `remove`.
13481348

1349+
### SHELL_VERBOSITY
1350+
1351+
Since Composer uses [symfony/console](https://github.com/symfony/console),
1352+
you can define the [verbosity level](https://symfony.com/doc/current/console/verbosity.html).
1353+
`SHELL_VERBOSITY=-1` to hide the output of Composer
1354+
(this is equivalent to using the CLI option `--quiet`).
1355+
Please note that this will apply to every tool that rely on `symfony/console`,
1356+
you can set `SHELL_VERBOSITY=0` after the calls to Composer in order to restore the default verbosity level.
1357+
13491358
← [Libraries](02-libraries.md) | [Schema](04-schema.md) →

0 commit comments

Comments
 (0)