PHP Класс WP_CLI_SSH_Command, wp-cli-ssh

Наследование: extends WP_CLI_Command
Показать файл Открыть проект

Открытые методы

Метод Описание
__invoke ( $args, $assoc_args ) Forward command to remote host

Приватные методы

Метод Описание
check_disabled_commands ( array $args, array $ssh_config ) : void | error Check if the command run is disabled on local config

Описание методов

__invoke() публичный Метод

## OPTIONS ... : The command to run. [--=...] : associative args to pass to the command [--flag...] : flag to pass to the command --host= : name of the host to connect to ## EXAMPLES wp ssh plugin status --host=vagrant
public __invoke ( $args, $assoc_args )