-
-
Notifications
You must be signed in to change notification settings - Fork 556
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
[console] Use your Drush @aliases to call Drupal Console #1104
Comments
This issue does not longer apply because Drush is not part of Drupal Console anymore (#1520). For this reason I'm closing this issue. |
The script here does not depend on the function removed in #1520. Closing is fine, though; this example does not need to be part of Drupal Console; it would work for folks who want to use it independent of whether or not it is distributed as part of this project. |
As mentioned by @greg-1-anderson this is not related to #1520, this is to take advantage of a common way of using aliases a la |
Using this code as inspiration, we have merge this functionality into DrupalConsole core. You can use either Here is the implementation - https://github.com/hechoendrupal/DrupalConsole/blob/master/src/Application.php#L115 |
Very nice. |
If you source something like the script below in a .bashrc or .bash_profile, then you can use
drupal @drushalias console:command
to run Drupal Console commands using Drush aliases. Also works for remote site aliases.The text was updated successfully, but these errors were encountered: