Closed jigarius closed 1 year ago
After doing some research, I believe using a --filter
option would be the best solution. Got this idea from Drush.
drush pm:list --filter=foo
--filter
argument.
I did some research and found the library consolidation/filter-via-dot-access-data
which is responsible for the filtering in drush pm:list
. It didn't take long to implement a similar filter in all the commands, i.e. sa
, sd
, ex
.
Allow the user to run commands on a list of sites. Say, there are 4 sites, but I want to run the command only on
abc.com
anddef.com
.Possible syntaxes