Commit be49cee9 authored by Erick Hitter's avatar Erick Hitter
Browse files

Starting point for commands to be called by runner

parent 68f69708
...@@ -60,4 +60,5 @@ require __DIR__ . '/wp-cli/class-cache.php'; ...@@ -60,4 +60,5 @@ require __DIR__ . '/wp-cli/class-cache.php';
require __DIR__ . '/wp-cli/class-events.php'; require __DIR__ . '/wp-cli/class-events.php';
require __DIR__ . '/wp-cli/class-lock.php'; require __DIR__ . '/wp-cli/class-lock.php';
require __DIR__ . '/wp-cli/class-one-time-fixers.php'; require __DIR__ . '/wp-cli/class-one-time-fixers.php';
require __DIR__ . '/wp-cli/class-orchestrate.php';
require __DIR__ . '/wp-cli/class-rest-api.php'; require __DIR__ . '/wp-cli/class-rest-api.php';
<?php
namespace Automattic\WP\Cron_Control\CLI;
use Automattic\WP\Cron_Control;
/**
*
*/
class Orchestrate extends \WP_CLI_Command {
/**
*
*
* @subcommand do
*/
public function do_orchestration( $args, $assoc_args ) {
\WP_CLI::log( 'Hi' );
}
}
\WP_CLI::add_command( 'cron-control orchestrate', 'Automattic\WP\Cron_Control\CLI\Orchestrate' );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment