CLI Extender

Extension detail description

Buy
Short descriptionCLI Extender brings more features for bin/magento command
Composer key
Warning! Composer key will work only after you purchase the extension with your API credentials.
Link to supporthttps://connect20.aveo-trade.cz/docs/documentation-cli-extender-2.3.0.pdf
Long description

With this setting CLI methods it is possible to add products, categories, products to categories, edit cms pages, change magento configuration, execute any method on any factory or repository class, and many more.

#create category
bin/magento config:create:Catalog_Category '{"UrlKey": "fashion","Name": "Fashion","IsActive": true,"Data": ["Fashion products"],"StoreId": 1}'

#create category
bin/magento config:create:Catalog_Category '{"UrlKey": "flowers","Name": "Flowers","IsActive": true,"Data": ["Flowers"],"StoreId": 1}'


#create product
bin/magento config:create:Catalog_Product '{"Sku": "848000001","Price": 200,"Name": "Minerva LumaTech™ V-Tee","TypeId": "simple","Visibility": 4,"AttributeSetId": 4,"Status": 1,"StockData": {"use_config_manage_stock": 0,"manage_stock": 1,"min_sale_qty": 1,"max_sale_qty": 1,"is_in_stock": 1,"qty": 100}}'

#add product to category
bin/magento config:create:Catalog_CategoryProductLink '{"Sku": "848000001","CategoryId": 2,"Position": 1}'
#add product to category
bin/magento config:create:Catalog_CategoryProductLink '{"Sku": "848000001","CategoryId": 3,"Position": 1}'

#add image to product
bin/magento config:execute:Catalog_Product Sku 848000001 addImageToMediaGallery '["ws08-blue_back_1.jpg",["image","small_image","thumbnail"],false,false]'
#add image to product
bin/magento config:execute:Catalog_Product Sku 848000001 addImageToMediaGallery '["ws08-blue_main_1.jpg",["image","small_image","thumbnail"],false,false]'

#create product
bin/magento config:create:Catalog_Product '{"Sku": "848000002","Price": 100,"Name": "Roses","TypeId": "simple","Visibility": 4,"AttributeSetId": 4,"Status": 1,"StockData": {"use_config_manage_stock": 0,"manage_stock": 1,"min_sale_qty": 1,"max_sale_qty": 1,"is_in_stock": 1,"qty": 100}}'

#add image to product
bin/magento config:execute:Catalog_Product Sku 848000002 addImageToMediaGallery '["roses.jpg",["image","small_image","thumbnail"],false,false]'

#add product to category
bin/magento config:create:Catalog_CategoryProductLink '{"Sku": "848000002","CategoryId": 2,"Position": 1}'
#add product to category
bin/magento config:create:Catalog_CategoryProductLink '{"Sku": "848000002","CategoryId": 4,"Position": 1}'

#show products on main page
bin/magento config:set:Cms_Page 2 Content 'Hello world'

Demo

All our demos for the products use the CLI Extender because it allows us to reinstall whole eshop periodically or at our command.

https://m2-demo-gopay.aveo-trade.cz

https://m2-demo-sk.aveo-trade.cz

https://m2-demo-de.aveo-trade.cz

 

Update history
Ver: 2.3.0.1-stable
Date: 14.02.2019
Ver: 2.3.0-dev
Date: 14.02.2019
Price20 EUR
Price with VAT24 EUR *
Buy
* If you have valid VAT number, and your business is outside of Czech Republic, reverse charge mechanism will apply.
Developer information
Name:Aveo Trade, s.r.o.
VAT ID:CZ29025648