Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

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

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

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 Release date
2.1.0 Stable May 26, 2023