v1.1.2

Command Line Interface

Usage: php -f bin/magento [command]

  • mirasvit:mirasvit:review:aggregate [options] - generate aggregated reviews (AI-powered). Allowoed Options:
    • --product [id] - specify the ID of the product for which aggregated review should be generated. If ommited the extension will generate aggregated reviews for all reviewed products.
  • mirasvit:mirasvit:review:generate [options] - generate reviews using Open AI. Allowed options:
    • --nickname [nickname] - the nickname of the reviewer. This option is required.
    • --rating [rating] - rating from 1 to 5. This option is required.
    • --product [product_id] - the ID of the product for which the review should be generated. If ommited the extension will generate reviews for all products.
    • --store [store_id] - specify for which store view the review should be generated
    • --additional [text] - add additional instructions for Open AI. These instructions will be included in the prompt for reviews generation.
    • --qty [number] - the limit of reviews to generate in one execution.
    • --autoapprove - define if generated reviews should be automaticaly marked as approved
  • mirasvit:review:reindex [options] - reindex reviews locations and "verified buyer" data. If no options specified the extension will reindex both. Allowed options:
    • --verify - reindex "verified buyer" data.
    • --location - reindex reviewers' location data.
    • --force - force reindex. Affects only the "verified buyer" data reindex. Should be used after changing the Store Statuses setting of the extension.