From f1d7fcac6aed4f96841dae9744857d05ec2fbee2 Mon Sep 17 00:00:00 2001 From: Dmitry Fedyuk Date: Mon, 26 Oct 2020 02:41:42 +0600 Subject: [PATCH] 0.0.2: https://github.com/tradefurniturecompany/image/issues/1 --- Command.php | 2 +- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Command.php b/Command.php index a546b80..84d2649 100644 --- a/Command.php +++ b/Command.php @@ -18,6 +18,6 @@ protected function configure() {$this->setName('tfc:image')->setDescription('Pro */ protected function p() { df_google_init_service_account(); - $this->output()->writeln(__METHOD__); + $this->output()->writeln(df_dump(scandir(df_product_images_path()))); } } \ No newline at end of file diff --git a/composer.json b/composer.json index b59cdbb..43f1a3c 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "tradefurniturecompany/image" - ,"version": "0.0.1" + ,"version": "0.0.2" ,"description": "A custom image processing module for tradefurniturecompany.co.uk (Magento 2)" ,"type": "magento2-module" ,"homepage": "https://github.com/tradefurniturecompany/image" @@ -11,7 +11,7 @@ ,"homepage": "https://mage2.pro/users/dmitry_fedyuk" ,"role": "Developer" }] - ,"require": {"mage2pro/core": ">=7.0.0"} + ,"require": {"google/cloud-vision": "*", "mage2pro/core": ">=7.0.0"} ,"autoload": {"files": ["registration.php"], "psr-4": {"TFC\\Image\\": ""}} ,"keywords": [ "eCommerce"