Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect --quiet option #77

Merged
merged 1 commit into from
Jul 8, 2018
Merged

Respect --quiet option #77

merged 1 commit into from
Jul 8, 2018

Conversation

miclf
Copy link
Contributor

@miclf miclf commented Jul 7, 2018

What

The usage info for the installer says that the --quiet option can be used to prevent if from outputting things:

Usage:
  new [options] [--] [<name>]

Arguments:
  name

Options:
  [...]
  -q, --quiet           Do not output any message
  [...]

However, this option is not honored, because it is never passed to Composer.

Similarly to what has been done in #52 for --no-ansi, this PR ensures that Composer is made aware of this option.

Use case

I’m using the Laravel installer as part as a script, to automate the creation of Laravel projects and tweak additional things. I would like to prevent the installer from outputting anything, so that its messages do not interfere with the ones coming from my script.

Similarly to what has been done in #52 for the `--no-ansi` option, this allows to prevent Composer from outputting anything.
@taylorotwell taylorotwell merged commit 39763d8 into laravel:master Jul 8, 2018
@miclf
Copy link
Contributor Author

miclf commented Jul 9, 2018

Thanks!

@miclf miclf deleted the patch-1 branch July 9, 2018 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants