WP_CLI\Dispatcher

Subcommand::get_alias()publicWP-CLI 1.0

If an alias is set, grant access to it. Aliases permit subcommands to be instantiated with a secondary identity.

Method of the class: Subcommand{}

No Hooks.

Return

String.

Usage

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

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

public function get_alias() {
	return $this->alias;
}