WP_CLI\Dispatcher

CompositeCommand::invoke()publicWP-CLI 1.0

When a composite command is invoked, it shows usage docs for its subcommands.

Method of the class: CompositeCommand{}

No Hooks.

Return

null. Nothing.

Usage

$CompositeCommand = new CompositeCommand();
$CompositeCommand->invoke( $args, $assoc_args, $extra_args );
$args(array) (required)
-
$assoc_args(array) (required)
-
$extra_args(array) (required)
-

CompositeCommand::invoke() code WP-CLI 2.8.0-alpha

public function invoke( $args, $assoc_args, $extra_args ) {
	$this->show_usage();
}