zero1/stores-cli

1.0.0 2023-12-11 11:52 UTC

This package is auto-updated.

Last update: 2024-12-11 14:07:07 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