FriendsOfShopware / shopware-cli

CLI for Shopware Account and Shopware 6
MIT License
78 stars 29 forks source link

config pull overwrites env variable credentials #296

Open SkaveRat opened 5 months ago

SkaveRat commented 5 months ago

PHP Version

8.1 / 8.2

Shopware Version

6.5.6

Plugin Version

0.4.13

Actual behaviour

admin_api.client_id and admin_api.client_secret get overwritten from $SHOPWARE_CLI_CLIENT_ID / $SHOPWARE_CLI_CLIENT_SECRET to whatever was used in the call

Expected behaviour

The values not being overwritten

Steps to Reproduce?

Use env vars in the config and pull the config

shyim commented 3 months ago

I could fix it only for client_id, client_secret and username and password

would that be fine? @SkaveRat ?