Sindbad~EG File Manager
<?php
namespace WP_CLI\o2switch\Commands;
use WP_CLI;
use WP_CLI_Command;
use WP_CLI\o2switch\Services\WebsiteService;
class WebsiteCommand extends WP_CLI_Command
{
public static $COMMAND = 'wptiger website';
/**
* Get details about a given WordPress installation.
* @when after_wp_load
* @param array $args Indexed array of positional arguments.
* @param array $assoc_args Associative array of associative arguments.
* @return void
*/
public function get(array $args, array $assoc_args)
{
$website_data = WebsiteService::getWebsiteDetails();
WP_CLI::log(json_encode($website_data));
}
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists