Could we actually configure our installed module fields via Magento 2 CLI?
# typical way to enable a Magento 2 module, via Magento 2 CLI bin/magento module:enable Acme_Acme # can we do something like this? bin/magento module:enable Acme_Acme --config=[password=1234]
The goal is to make
bin/magento module:enable a little dummy-proof, if some more than one 'required' configuration field is still null or empty.
When the module is enabled, with the empty 'required' configuration fields, the plugin causes Magento 2 site errors and so on.
If going about the Magento 2 CLI is the wrong path towards a solution, what other solutions are available? Using the
di.xml file? Programmatically "catch" for empty 'required' configuration fields?
FYI, Magento 2 casual here. Please feel free to share your thoughts, thank you.