Pantheon\Terminus\Commands\Remote\DrushCommand::drushCommand PHP Метод

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

Run an arbitrary Drush command on a site's environment
public drushCommand ( string $site_env_id, array $drush_command ) : string
$site_env_id string Name of the environment to run the drush command on.
$drush_command array Drush command to invoke on the environment
Результат string Output of the given drush command executed on the site environment
    public function drushCommand($site_env_id, array $drush_command)
    {
        $this->prepareEnvironment($site_env_id);
        return $this->executeCommand($drush_command);
    }
DrushCommand