From doing some admin_views dev it would be really handy to filter exportables by their export module. Then I can do stuff like this:

Filter the info by module:
drush ctei --module=node

or by module and status:
drush ctei --module=node --filter=enabled

and also filter the op commands:
drush cted views_view --module=node

CommentFileSizeAuthor
ctools-drush-module-filter.patch7.84 KBdamiankloip
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

swentel’s picture

Looks good to me. The only confusing part is that --filter is also used for exporting but has a completely different meaning. I think it might be nice if they would do the same thing and we rename --filter for exporting to something like tables. What do you think ?

damiankloip’s picture

Thanks for the review and test! That seems like a good idea. It might make more sense that way. So maybe instead of --filter we could have --tables on ctools-export, and maybe --status instead of --filter on ctools-export-info. How does that sound?

swentel’s picture

Status is indeed even better!

damiankloip’s picture

Cool. I think they should be in a different patch though. Did you say you had a patch to do with the exports? I did leave you a message on IRC too, I don't think you have got it yet though.

damiankloip’s picture

Status: Needs review » Fixed

Let's get this in. Just committed to 7.x

Status: Fixed » Closed (fixed)

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