/** * {@inheritdoc} */ public function run() { return Drush::exec()->arg('sql-cli')->arg('<')->arg(escapeshellarg($this->filepath))->run(); }
/** * Return Drush executable. * * @return \Robo\Task\Base\Exec */ protected function exec() { return Drush::exec(); }
/** * {@inheritdoc} */ public function run() { return Drush::exec()->arg('sql-dump')->arg('>')->arg(escapeshellarg($this->filepath))->option('ordered-dump')->option('extra=--skip-comments')->option('structure-tables-list=' . escapeshellarg(implode(',', $this->getStructureOnlyTableList())))->run(); }