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

Create New CLI command: create store view #288

Open 0m3r opened 4 years ago

0m3r commented 4 years ago

Hi, it would be cool, if someone could setup the store view using the command line. Save us a lot of clicking. For example like here

bin/magento store:create "Deutschland" de 1 20 -g 1
bin/magento store:create -h 
Description:
  Create new store view (see list: bin/magento store:list)

Usage:
  store:create [options] [--] <name> <code> [<is_active> [<sort_order>]]

Arguments:
  name                       Put the store view name you want to create 
  code                        Put the code 
  is_active                  Status (enable/disable) [default: true]
  sort_order                Sort Order [default: 0]

Options:
  -g, --group_id[=GROUP_ID]  Group ID (php bin/magento store:list). [default: "1"]
  -h, --help                 Display this help message
  -q, --quiet                Do not output any message
  -V, --version              Display this application version
      --ansi                 Force ANSI output
      --no-ansi              Disable ANSI output
  -n, --no-interaction       Do not ask any interactive question
  -v|vv|vvv, --verbose       Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
m2-assistant[bot] commented 4 years ago

Hi @0m3r. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this