PHP 8.0.30
Preview: cli.php Size: 1.19 KB
/home/certprox/zang.certproxywizard.com/wp/wp-content/plugins/blocksy-companion/framework/cli.php

<?php

namespace Blocksy;

/*
add_action('blocksy:customizer:load:before', function () {
	$_REQUEST['wp_customize'] = 'on';
	_wp_customize_include();

	global $wp_customize;

	$wp_customize->wp_loaded();
});
 */

/**
 * Manages Blocksy theme extensions, tools, license activation, and starter site installation.
 *
 * ## EXAMPLES
 *
 *     # List all available extensions
 *     $ wp blocksy extension list
 *
 *     # Activate an extension
 *     $ wp blocksy extension activate custom-fonts
 *
 *     # Deactivate an extension
 *     $ wp blocksy extension deactivate custom-fonts
 *
 *     # List all available tools
 *     $ wp blocksy tool list
 *
 *     # Run a specific tool
 *     $ wp blocksy tool run tool-name
 *
 *     # List all available demos
 *     $ wp blocksy demo list
 *
 *     # Install a demo
 *     $ wp blocksy demo install demo-name
 *
 *     # Activate license
 *     $ wp blocksy license activate your-license-key
 *
 *     # Move all widgets to inactive area
 *     $ wp blocksy widgets drop
 */
class Cli {
	public function __construct() {
		\WP_CLI::add_command('blocksy', $this);

		new DemoCli();
		new ToolCli();
		new LicenseCli();
		new ExtensionCli();
		new WidgetsCli();
	}
}

Directory Contents

Dirs: 6 × Files: 5

Name Size Perms Modified Actions
cli DIR
- drwxr-xr-x 2026-03-30 10:09:49
Edit Download
- drwxr-xr-x 2026-03-30 10:09:48
Edit Download
features DIR
- drwxr-xr-x 2026-03-30 10:09:50
Edit Download
helpers DIR
- drwxr-xr-x 2026-03-30 10:09:50
Edit Download
includes DIR
- drwxr-xr-x 2026-03-30 10:09:50
Edit Download
views DIR
- drwxr-xr-x 2026-03-30 10:09:50
Edit Download
5.95 KB lrw-r--r-- 2026-03-30 10:09:48
Edit Download
1.87 KB lrw-r--r-- 2026-03-30 10:09:48
Edit Download
1.19 KB lrw-r--r-- 2026-03-30 10:09:49
Edit Download
16.26 KB lrw-r--r-- 2026-03-30 10:09:49
Edit Download
10.01 KB lrw-r--r-- 2026-03-30 10:09:50
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).