GRAYBYTE WORDPRESS FILE MANAGER1197

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/chahida.co.in/wp-content/plugins/woocommerce/packages/blueprint/src/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/chahida.co.in/wp-content/plugins/woocommerce/packages/blueprint/src//Cli.php
<?php

namespace Automattic\WooCommerce\Blueprint;

use Automattic\WooCommerce\Blueprint\Cli\ExportCli;
use Automattic\WooCommerce\Blueprint\Cli\ImportCli;

$autoload_path = __DIR__ . '/../vendor/autoload.php';
if ( file_exists( $autoload_path ) ) {
	require_once $autoload_path;
}
/**
 * Class Cli.
 *
 * This class is included and execute from WC_CLI(class-wc-cli.php) to register
 * WP CLI commands.
 */
class Cli {
	/**
	 * Register WP CLI commands.
	 *
	 * @return void
	 */
	public static function register_commands() {
		\WP_CLI::add_command(
			'wc blueprint import',
			function ( $args, $assoc_args ) {
				$import = new ImportCli( $args[0] );
				$import->run( $assoc_args );
			},
			array(
				'synopsis' => array(
					array(
						'type'     => 'positional',
						'name'     => 'schema-path',
						'optional' => false,
					),
					array(
						'type'     => 'assoc',
						'name'     => 'show-messages',
						'optional' => true,
						'options'  => array( 'all', 'error', 'info', 'debug' ),
					),
				),
				'when'     => 'after_wp_load',
			)
		);

		\WP_CLI::add_command(
			'wc blueprint export',
			function ( $args, $assoc_args ) {
				$export = new ExportCli( $args[0] );
				$steps  = array();

				if ( isset( $assoc_args['steps'] ) ) {
					$steps = array_map(
						function ( $step ) {
							return trim( $step );
						},
						explode( ',', $assoc_args['steps'] )
					);
				}
				$export->run(
					array(
						'steps'  => $steps,
						'format' => 'json',
					)
				);
			},
			array(
				'synopsis' => array(
					array(
						'type'     => 'positional',
						'name'     => 'save-to',
						'optional' => false,
					),
					array(
						'type'     => 'assoc',
						'name'     => 'steps',
						'optional' => true,
					),
				),
				'when'     => 'after_wp_load',
			)
		);
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:20
giriqfky / giriqfky
0755
Cli
--
July 10 2025 04:32:20
giriqfky / giriqfky
0755
Exporters
--
July 10 2025 04:32:20
giriqfky / giriqfky
0755
Importers
--
July 10 2025 04:32:20
giriqfky / giriqfky
0755
ResourceStorages
--
July 10 2025 04:32:20
giriqfky / giriqfky
0755
ResultFormatters
--
July 10 2025 04:32:20
giriqfky / giriqfky
0755
Schemas
--
July 10 2025 04:32:20
giriqfky / giriqfky
0755
Steps
--
July 10 2025 04:32:20
giriqfky / giriqfky
0755
docs
--
July 10 2025 04:32:20
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:20
giriqfky / giriqfky
0644
BuiltInExporters.php
0.463 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
BuiltInStepProcessors.php
1.809 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
ClassExtractor.php
6.055 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
Cli.php
1.78 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
ExportSchema.php
4.301 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
ImportSchema.php
2.337 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
ImportStep.php
4.465 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
Logger.php
4.066 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
ResourceStorages.php
1.452 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
StepProcessor.php
0.664 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
StepProcessorResult.php
3.563 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
UsePluginHelpers.php
3.127 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
UsePubSub.php
1.509 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
UseWPFunctions.php
9.717 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
Util.php
4.386 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF