drush ctools-export

Export multiple CTools exportable objects directly to code.

Drush Command

drush ctools-export


module : Name of your module.


drush ctex


--subdir : The name of the sub directory to create the module in. Defaults to ctools_export which will be placed into sites/all/modules.
--remove : Remove existing files before writing, except the .module file.
--filter : Filter the list of exportables by status. Available options are enabled, disabled, overridden, database, code and all. Defaults to enabled.
--tables : Comma separated list of exportable table names to filter by.


[object Object]