Closed jigarius closed 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.
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
.
Requirements
--uri=@@uri
.--uri
is a proper hostnamedrush uli
generates the correct URL with the correct--uri
.@@uri
placeholder that uses the keys in$sites
.@@dir
placeholder that uses the values in$sites
.Tasks
@@key
represents the keys in$sites
.$sites
keys which include port numbers and paths. See example.sites.php.@@ukey
represents unique keys in$sites
.@@dir
represents the site directory, i.e. replaces old@@uri
.