-
Notifications
You must be signed in to change notification settings - Fork 51
Permit usage without Drupal #29
Comments
Not only does the launcher not support that, neither does Drush itself (at this time). A command must exist locally in order to get to the point where remote dispatch happens. Thats a bug that can hopefully be fixed. As for the launcher, I guess it could hand of to Drush in the absence of Drupal. |
In my opinion the ideal UX for aliases and Drush Launcher is that you can use them from any directory, similar to how aliases currently work with global Drush. If I have to I wonder if Drush Launcher could have a configurable fallback path to a Drush binary, to be used if a local Drush cannot be found. So globally |
@mortenson thats how the launcher worked for a little while. i didn't like it though because i find that very hard to support. folks will have no clue whats launching their site local drush. and they wont be able to keep track of what versions are running for each component. Lets track alias support in Launcher at #2. Help wanted. |
FYI, we actually implemented the DRUSH_LAUNCHER_FFEDBACK idea from above. See README. |
At present, if I were to execute
drush @alias uli
in a directory containingvendor/bin/drush
that did not have a Drupal root (anywhere), the launcher would be unable to detect my drush installation and execute the command.The launcher should be able to detect a project version of drush even if that project does not contain Drupal root.
The text was updated successfully, but these errors were encountered: