Reputation: 3529
When I update composer with private repositories running composer update
, it prompts to store credential:
Do you want to store credentials for bitbucket.org
in /home/evgeny/.composer/auth.json ? [Yn]
How to surpress this question with answer no
by default? I won't answer every update and I won't store this credentials.
Upvotes: 1
Views: 702
Reputation: 41958
You can globally disable all interactive questions by setting the COMPOSER_NO_INTERACTION
env variable to 1.
Ref: https://getcomposer.org/doc/03-cli.md#composer-no-interaction
Upvotes: 1