Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This document will guide you through the installation of Drush (Versions 6 and newer) using Composer on your shared Linux hosting account. Topics include requesting SSH access to your account, using an SSH Client, general Bash usage, Composer installation and Drush installation.
IDC uses a custom version of drush_choice() and drush_choice_multiple() to add some DX Features on top of them. One of those improvements is the ability to search specific items within a list (single choice, or multiple choice).
Imagine you have a long list ( > 50 items) and you're prompted to select one or more values of that list.
Imagine you're looking for values that contain a similar string in the label (e.g: "field_article_").
Instead of entering them one by one, you can filter the list by that string.
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).
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.