Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

VDE drush add-on

No security coverage Under active development 254 sites

This module provides a Drush command to execute a Views Data Export display and save its output to a file. It allows you to specify the view, display ID, and the filename for the exported data.

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/.

Drupal 8–10 · not 11 PHP >=7.1.0

Ask your assistant about VDE drush add-on

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
May 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
2.1.0 Stable 8–10 PHP >=7.1.0 May 26, 2023