Open klonos opened 5 years ago
In https://drupal.stackexchange.com/questions/159355/how-to-list-all-users-in-drush it is suggested to use drush uinf
+ drush sqlq
, like so:
drush uinf $(drush sqlq "SELECT GROUP_CONCAT(name) FROM users")
...but there is a note to say that this command might fail if certain special characters are used in the username. During my tests, I got errors when usernames had spaces in them (very common I guess, since there is nothing in Drupal/Backdrop to advice against this).
I'm for this feature.
and in the later case, will it then also work for D7 sites (which will be a win smile)?
In D7 you need Drush User List to be able to do that, but this implies that it will only work on a per-site basis. Can this be implemented on the drush-level, so that it is a global command? Does it have to be supported by the main drush script, or can we implement it as a drush command? ...and in the later case, will it then also work for D7 sites (which will be a win 😄)?