Closed golddragon007 closed 1 year ago
Indeed. Currently it just works if a URI is defined in the Drush alias. For now I'll close this ticket as the duplicate of https://github.com/jigarius/drall/issues/23 which has a similar theme.
Try version 3.x
and let me know how it goes. I think this is what will do the trick for you:
drall exec drush --uri=@@key uli
I'd suggest reading the docs about @@key
and @@ukey
. At this point, there seems to be no reliable way to get a site's URI from $sites
.
When I simple give the command
$ ./vendor/bin/drall exd uli
I receive URLs which does not contain the domains:To have it correctly I need to run
./vendor/bin/drall exd @@@uri uli
I would expect to have the correct url with the simple exd uli command too.
NOTE: here for us the @@@uri does work as the directory and the drush alias name is actually the same, otherwise it won't work.