Skip to content

JBZoo-CCK/CCK-Cli

Repository files navigation

JBZoo CCK Cli

Command line wrapper for Joomla JBZoo CCK v220

License Latest Stable Version Scrutinizer Code Quality

Install

The best way

cd <Joomla root path>
composer create-project jbzoo/cck-cli:1.x-dev ./cli/jbzoo/

...or unpack last zip jbzoo-cli-pack.zip from Releases page to /cli/jbzoo

Example

# General Help
./cli/jbzoo/bin/jbzoo

# Database reindex
./cli/jbzoo/bin/jbzoo tools:reindex

# Import items
./cli/jbzoo/bin/jbzoo import:items                        # Default profile ./configs/import-items-default.php
./cli/jbzoo/bin/jbzoo import:items --profile=myprofile    # Custom profile ./configs/import-items-myprofile.php
./cli/jbzoo/bin/jbzoo import:items --profile=myprofile -v # Verbose is debug mode

# YML Export items for Yandex.Market
./cli/jbzoo/bin/jbzoo export:yml-items                      # Export items to YML file
./cli/jbzoo/bin/jbzoo export:yml-items --profile=myprofile  # Custom profile ./configs/export-yml-items-myprofile.php

# CSV Export items
./cli/jbzoo/bin/jbzoo export:csv-items                      # Export items to CSV file
./cli/jbzoo/bin/jbzoo export:csv-items --profile=myprofile  # Custom profile ./configs/export-csv-items-myprofile.php

Preview screen

This screen is just preview of beta version. So, full command list see via jbzoo list. Output example#1

Todo list

Add new commands

export
  export:categories  Export categories to CSV file

import
  import:categories  Import categories from CSV file

tools
  tools:check-jbzoo  Check JBZoo Files src summs
  tools:check-zoo    Check Zoo Files src summs

Support

Learn more on JBZoo Support Forum

License

MIT