WP_CLI\Dispatcher

CompositeCommand::set_shortdescpublicWP-CLI 1.0

Set the short description for this composite command.

Method of the class: CompositeCommand{}

No Hooks.

Returns

null. Nothing (null).

Usage

$CompositeCommand = new CompositeCommand();
$CompositeCommand->set_shortdesc( $shortdesc );
$shortdesc(string) (required)
.

CompositeCommand::set_shortdesc() code WP-CLI 2.13.0-alpha

public function set_shortdesc( $shortdesc ) {
	$this->shortdesc = Utils\normalize_eols( $shortdesc );
}