VDE drush add-on
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
- view_name (The name of the view)
- display_id (display id of data_export display)
- 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
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 2.1.0 | Stable | May 26, 2023 |