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 on Shared Hosting Accounts With Composer

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.

Drupal Module Upgrader

The Drupal Module Upgrader is a Drush command that helps you update your modules from Drupal 7 to Drupal 8.

Neo from the Matrix going, 'woah.'Indeed, Neo.

Command line use

Drupal Module Upgrader, or DMU from here on in, has two main modes of operation:

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.

Pages

Subscribe with RSS Subscribe to RSS - drush