zero1 / stores-cli
Installs: 1 246
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- magento/framework: ^100.1|^101.0|^102.0|^103.0
This package is auto-updated.
Last update: 2024-11-11 14:01:11 UTC
README
This module aims to extend the default store module to allow creation of stores from the CLI. The main reason for this is that creating a store can take a long time, and any iteruption during this process can cause issues (such as missing sequence tables), running from the CLI wil reduce this risk.
This module also supplies a "fix" command that should re-trigger the original Magento logic and create any missing sequence tables. (Thanks to @andrewhowdencom: Magento issue 12318)
As with all commands, we strongly recommend runng away from production initially to test the outcome.
Create a new store
php bin/magento store:store:create --group-id=10 --name="New Store" --code=new_store
Fix a store
php bin/magento store:store:fix --store-id=9