This is linked to discussion in #1385772: Add Drush Bulk export command and drush patch by swentel.

Here is an initial patch attached to add a ctools-export-info command to ctools.drush.inc. This is based on the comments in the above referenced issue.

ctools-export-info returns a tabular list of available exports type and exports for each. These export types/table names can be filtered E.g. 'drush ctools-export-info views_view variable'.

I would also like to incorporate #1084062: Drush command to revert overridden ctools exported objects (which I will review/test) and any other commands needed for ctools export integration in drush. Which I will be working on soon.

Let me know what you think! :)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

damiankloip’s picture

Issue summary: View changes

Added quotes around drush command.

damiankloip’s picture

OK. here is an updated patch, adding a --tables-only option to the drush command to show just exportable types, and not available objects.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed and pushed.

damiankloip’s picture

Nice. Most of the stuff i have been doing is in http://drupal.org/sandbox/damiankloip/1468998. All the details are on the sandbox page. That will give us lots more functionality such as enable, disable, revert etc.. (as mentioned briefly in IRC). Still happy to co-maintain the drush aspect of CTools :)

damiankloip’s picture

Status: Fixed » Needs review

Setting this back to needs review to alert my last post on here. The sandbox has lots of improvements to the export info command as well as the others. Please mark as fixed again. Apologies in advance (for re opening)!

damiankloip’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Small change