You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
The commands for this Drush extension involve either cd-ing to the module's directory or supplying it on the command line. Drush has a Drupal Directory command (dd) that can be used to retrieve this. My suggestion is to use it to allow the user to supply the module name and allow drush to get the module directory.
It is possible to do this on the command line now with something like this: drush bandaid-patch https://www.drupal.org/node/123456 $(drush dd module_name)
What I would like to be able to run is: drush bandaid-patch https://www.drupal.org/node/123456 module_name
I think that Drupal and drush will supply the correct module location in case of module overrides. Maybe something to check for or possibly run a drush cc drush before searching for the module's directory.
Maybe a fallback is needed. In other words if a path is given then it is used otherwise it checks to see if a module name was given then finds its path.
Thanks for considering this and God Bless!
Frederick
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi!
The commands for this Drush extension involve either cd-ing to the module's directory or supplying it on the command line. Drush has a Drupal Directory command (dd) that can be used to retrieve this. My suggestion is to use it to allow the user to supply the module name and allow drush to get the module directory.
It is possible to do this on the command line now with something like this:
drush bandaid-patch https://www.drupal.org/node/123456 $(drush dd module_name)
What I would like to be able to run is:
drush bandaid-patch https://www.drupal.org/node/123456 module_name
I think that Drupal and drush will supply the correct module location in case of module overrides. Maybe something to check for or possibly run a
drush cc drush
before searching for the module's directory.Maybe a fallback is needed. In other words if a path is given then it is used otherwise it checks to see if a module name was given then finds its path.
Thanks for considering this and God Bless!
Frederick
The text was updated successfully, but these errors were encountered: