WP_CLI\Dispatcher

Subcommand::set_synopsis()publicWP-CLI 1.0

Set the synopsis string for this subcommand.

Method of the class: Subcommand{}

No Hooks.

Return

null. Nothing.

Usage

$Subcommand = new Subcommand();
$Subcommand->set_synopsis( $synopsis );
$synopsis(string) (required)
-

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

public function set_synopsis( $synopsis ) {
	$this->synopsis = $synopsis;
}