Selecting Multiple Values of a list.

IDC uses a custom version of drush_choice() and drush_choice_multiple() to add some DX Features on top of them.

For Multiple Choice lists, developers can select / deselect multiple items at once in 2 ways (besides, of course, the normal selection by entering just one value in the CLI).

Using the IDC Module

IDC is a small module built on top of Drush (yet as a separate tool) that simplifies the process of creating Interactive Drush commands made of different steps, some of which might depend on data entered by the user on previous steps.

Since it overrides some of Drush's default behaviour to prompt the user for input, and adds some features on top of it, this page (and child pages) will serve to document any non-obvious features or instructions of use.

Drush commands for Configuration Management

Command (shortcut in parentheses) Description Examples and Options
config-get-identifiers (cgi) Return the list of identifiers for a given component.


The name of the component to get the identifiers.


drush cgi content_type
Returns the list of all available content types to export

Installing Drush On Any Linux Based Server Out There

NOTICE: Drush no longer supports installation via pear. As a result, some of this content is out of date. Please refer to the official documentation for installing Drush via composer.

Ok, so I am just conveying my experience in installing the quintessential tool that is drush. I work at Kalamuna and I provide support to a majority of our clients. I am constantly having to move sites around from server to server, platform to platform, etc.

Drush and Hooks

i have installed the ldap module, which makes it possible to sync a user with active directory, when a user is created or updated.
When creating a user through the user administration, the sync is performed perfectly. But i'm trying to create a script, which can fetch all users from ldap and create them afterwards. But when created, the "sync" with ldap is not done. Are hooks not triggered, when using: drush script ?

Taxonomy upgrade extras: 

drush permission denied command

I have install drush tool in my window8, it work well when the beginning
but after I run drush ld some_module not in the main directory of drupal project.
I just get a error:

C:\xampp\htdocs\drupal7\sites\all>drush ld view
require_once(C:\xampp\htdocs\drupal7\sites\all): failed to open [warning]

stream: Permission denied
Drush command terminated abnormally due to an unrecoverable error. [error]

Taxonomy upgrade extras: 


Subscribe with RSS Subscribe to RSS - drush