Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Exportables
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
21 Jun 2012 at 11:04 UTC
Updated:
6 Jul 2012 at 13:51 UTC
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
| Comment | File | Size | Author |
|---|---|---|---|
| ctools-drush-module-filter.patch | 7.84 KB | damiankloip |
Comments
Comment #1
swentel commentedLooks 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 ?
Comment #2
damiankloip commentedThanks 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?
Comment #3
swentel commentedStatus is indeed even better!
Comment #4
damiankloip commentedCool. 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.
Comment #5
damiankloip commentedLet's get this in. Just committed to 7.x