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! :)
Comment | File | Size | Author |
---|---|---|---|
#1 | ctools-drush-export-info-1.patch | 3.48 KB | damiankloip |
ctools-drush-export-info.patch | 3.05 KB | damiankloip | |
Comments
Comment #0.0
damiankloip CreditAttribution: damiankloip commentedAdded quotes around drush command.
Comment #1
damiankloip CreditAttribution: damiankloip commentedOK. here is an updated patch, adding a --tables-only option to the drush command to show just exportable types, and not available objects.
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted and pushed.
Comment #3
damiankloip CreditAttribution: damiankloip commentedNice. 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 :)
Comment #4
damiankloip CreditAttribution: damiankloip commentedSetting 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)!
Comment #5
damiankloip CreditAttribution: damiankloip commentedComment #6.0
(not verified) CreditAttribution: commentedSmall change