WPZylos WP-CLI

Integration bridge between WPZylos commands and WP-CLI.

What You Get

  • WP-CLI Registration — Register commands with wp command
  • Namespace mappingwp zylos <command>
  • WordPress context — Full WordPress environment available
  • Output compatibility — WP-CLI output methods

Quick Start

use WPZylos\Framework\WpCli\WpCliServiceProvider;

// In your application bootstrap
if (defined('WP_CLI') && WP_CLI) {
    $app->register(new WpCliServiceProvider());
}

Usage

# List plugin commands
wp zylos list

# Run a command
wp zylos migrate

# With arguments
wp zylos make:controller UserController

Documentation