jigarius / drall

A tool to run drush commands on multi-site Drupal installations.
GNU General Public License v3.0
33 stars 4 forks source link

--drall-* options are detected only when they're in a specific position #45

Closed jigarius closed 1 year ago

jigarius commented 2 years ago

Motivation

Depending on where we write --drall-* options, Symfony Console, Drall commands do not receive the --drall-* options. We need to figure out exactly what's going on and document it in the README.

jigarius commented 1 year ago

I can't reproduce it in the Docker setup for this project. The next time it happens, I'll document it with more context.

jigarius commented 1 year ago

Finally! I think I found the answer.

Example

# Won't work
drall exec drush st --field=site --drall-filter=default

# Will work
drall exec --drall-filter=default drush st --field=site

I'll simply document this in the README and that should be it.