jigarius / drall

A tool to run drush commands on multi-site Drupal installations.
GNU General Public License v3.0
33 stars 5 forks source link

Create a placeholder for keys in $sites #23

Closed jigarius closed 1 year ago

jigarius commented 2 years ago

Requirements

Tasks

jigarius commented 1 year ago

This one is up next! The primary source of motivation is the drall exec drush uli command. Without a way to distinguish between @@uri and @@dir, the one-time login URLs are always annoyingly wrong.

jigarius commented 1 year ago

I just thought that maybe new commands should be added for site:keys and site:ukeys? Alternatively, a unified command named site:list could be created which would return a table containing:

Key | Ukey | Directory
example.com | example.ddev.site | example
example.ca | example.ddev.site | example

The user will then be able to filter by the respective column names. Alternatively, they can request only column like drall site:list --field=directory.