Questions/Assumptions:

* Store exports in /sites/default/files/content_export_csv
* Ask for destination of export file, but default/above location used.
* Ask for fields to be used in export?

Suggested Commands:

Drush command for exporting single node record.

drush content_export_csv:single <nid>
drush cec:single <nid>

Drush command for exporting records by content type:

drush content_export_csv:all <content_type>
drush cec:all <content_type>
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

persuader created an issue. See original summary.

shwetaDevkate’s picture

Do you want to install this via drush or something else?

_pratik_’s picture

I believe it is related for performing actions on drush commands.
For that, custom drush command needs to be created.

geoanders’s picture

@persuader,

I don't believe any Drush commands are available or built into this module yet.

This would certainly be a feature request. Please provide some details around what you would like to see for commands/functionality.

geoanders’s picture

Title: run via drush » Drush commands
Version: 8.x-4.3 » 8.x-4.x-dev
Component: Documentation » Code
Status: Active » Postponed (maintainer needs more info)
geoanders’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Active

Vishal Prasad made their first commit to this issue’s fork.

Vishal Prasad changed the visibility of the branch 3323624-drush-command-by-vishal to hidden.

vishal prasad’s picture

Issue summary: View changes
Status: Active » Needs review

@geoanders i have Raised a MR with the drush commands to export content (by id or by type)
please review it

ajay-mallah’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new57.01 KB

@geoanders
I have tested the new feature developed by @vishal prasad and it is working properly.
These are the test cases that I tested

  • Opted download and save option, and files are getting downloaded as well as stored at selected file stream location.
  • If the path is selected to custom file, files are getting stored at the given path relative to the default file stream path
  • Also tested drush commands.

Attaching the updated form's UI.