magento / community-features

Magento Features Development is an Initiative to Allows Community Memebers Join to Development of Magento Features
46 stars 18 forks source link

Feature: extra arguments for setup:config:set #19

Open magento-engcom-team opened 6 years ago

magento-engcom-team commented 6 years ago

Preconditions

  1. Imported Magento 2.2 environment

Steps to reproduce

  1. Import database from production backup
  2. Download/copy/sync app/etc/config.php from production
  3. Set deployment config to your environment using bin/magento setup:config:set
  4. Run bin/magento setup:upgrade
  5. Go to your webserver and it'll tell you that the environment is not installed yet.

Expected result

  1. It would be great if one could tell the setup:config:set command that the environment is installed.
  2. The environment works after these steps

Actual result

  1. The install configuration is missing in app/etc/env.php
  2. I can't use the environment, except by adding the install configuration to app/etc/env.php

I would really like the following arguments to be added to the setup:config:set command:

If you agree, I'd gladly make a Pull Request to make this happen!

Original Report: https://github.com/magento/magento2/issues/11318 by @tdgroot