-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multisite compatibility #112
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
We inherited a D8 multisite a few months ago (ECDC project).
ATM I have made some workarounds to be able to work on it using the task-runner and the toolkit but it is far from optimal.
Ideally, we should make both the task-runner and the toolkit multisite-compatible.
This is I think a big task so perhaps some of you have ideas or plans already?
Here are some things I have in mind:
./vendor/bin/run @myalias command:name
)I investigated the possibility to use SiteAlias (used by drush) but that would require a lot of changes.
Another simpler approach is to do something similar to what Drupal Console does.
./vendor/bin/run ...
) which makes it loose the current context (e.g: the alias or options passed in the first command).This could be solved in a similar way to BLT which defines an
invokeCommands()
method: https://github.com/acquia/blt/blob/12.x/src/Robo/BltTasks.php#L53The text was updated successfully, but these errors were encountered: