WP_CLI\Dispatcher

CompositeCommand::set_shortdesc()publicWP-CLI 1.0

Set the short description for this composite command.

Method of the class: CompositeCommand{}

No Hooks.

Return

null. Nothing.

Usage

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

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

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