nanasess/eccube2-fixture-generator

2.0.2 2024-06-06 01:19 UTC

README

eccube:fixtures:generate 命令用于生成模拟数据。

安装

composer require nanasess/eccube2-fixture-generator

(可选) 命令行界面

composer require ec-cube2/cli --dev

命令行界面使用方法

php data/vendor/bin/eccube eccube:fixtures:generate [options]

命令行选项

      --with-locale=WITH-LOCALE  Set to the locale. [default: "ja_JP"]
      --products=PRODUCTS        Number of Products. [default: 100]
      --orders=ORDERS            Number of Orders. [default: 10]
      --customers=CUSTOMERS      Number of Customers. [default: 100]
  -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