This project is not covered by Drupal’s security advisory policy.

This module provides drush command for views_data_export, which was in views_data_export 7.x version.

This command executes views_data_export display of a view and writes the output to file, provided into the third parameter.

Update notes

See Release notes for 8.x-1.0-beta1

See Release notes for 8.x-1.0-beta2

Plans for the next releases.

- Add proper file format handling (currently we use format handling from views data export module);

Installation

To install this module make sure you have views_data_export module installed.

Basic installation:

Download module from module's drupal.org page and paste it into modules directory.

Composer installation:

run composer require 'drupal/vde_drush:^2.1'

Usage

Command

vde_drush:views-data-export

Alias

vde

Parameters

  1. view_name (The name of the view)
  2. display_id (display id of data_export display)
  3. filename (filename to write the result of a command. Could be absolute path into the system. If no absolute path provided file will be saved into project directory)

BEWARE: If file already exists it will be overwritten.

Usage examples

drush vde_drush:views-data-export my_view_name views_data_export_display_id output.csv

drush vde my_view_name views_data_export_display_id output.csv

Requrements

Views data export
Drush

About the Developers

This project is currently maintained by developers from Drupal Teams - visit us at http://www.drupalteams.com/.

Supporting organizations: 

Project information

Releases