WP_CLI\Dispatcher

Subcommand::get_synopsis()publicWP-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.

Return

String.

Usage

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

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

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