Drush clone

Component ID

1397300

Component name

Drush clone

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1361

Component created

Component changed

Component body

The objective of this module is to provide a drush extension allows developers to quickly clone modules or features to speed up writing code reusing custom templates or creating custom entity models using the Model Entities module.

This module was inspired by the Features clone module.

Setup

The simplest way to install drush_clone:

drush dl drush_clone

the command must be executed outside any Drupal project (i.e. in your user home).

Usage

Clone a module:

drush module-clone <src_module_name> <target_module_name>

Clone a feature:

drush feature-clone <src_feature_name> <target_feature_name>

Clone a model:

drush model-clone <target_entity_name>