Drealty Drush Commands

When working with drealty, you may wish to use Drush to import/flush the listings. Here's a list of available commands.

Installing Drush 6 and 7 on Shared Hosting Accounts With Composer

This document will guide you through the installation of Drush 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.

Searching elements within a list.

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.

Enter

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.

Arguments:

The name of the component to get the identifiers.

Example:

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

Pages

Subscribe with RSS Subscribe to RSS - drush