WP_CLI\Dispatcher

Subcommand::get_synopsispublicWP-CLI 1.0

Get the synopsis string for this subcommand. A synopsis defines what runtime arguments are expected, useful to humans and argument validation.

Method of the class: Subcommand{}

No Hooks.

Returns

String.

Usage

$Subcommand = new Subcommand();
$Subcommand->get_synopsis();

Subcommand::get_synopsis() code WP-CLI 2.13.0-alpha

public function get_synopsis() {
	return $this->synopsis;
}